Frequently Asked Question #307. How do I use Google Analytics and Google Search Console with my journal?
Please note that verification code approval from the search system can arrive after some time (normally less than a day, mostly just several hours). Your account must be available for search systems indexation, in other case the meta-tags will not be found in the code of your journal's pages and you will not be able to verify your membership in the affiliate program.
Every LiveJournal user regardless of their account type can enable Google Analytics for their journal. If you want to implement Google Analytics in your journal or community, you need to use your Google Analytics account. If you do not have one yet, you can read instructions about how to get it here. Google Analytics functions by having LiveJournal include a small script on each journal page for which statistics are tracked when the user has enabled this feature. The script appears on all pages under your subdomain (exampleusername.livejournal.com for a user named "exampleusername"). This includes, but is not limited to, your journal, your profile, your friends page, and individual entry pages in your journal (including Friends-only and Private entries). Such personification is enabled by the "web property ID". You can read more about it at Google Support.
LiveJournal automatically implement the tracking code in each page of your journal or community. All you need to do is indicate your web property ID (you get one from Google Analytics) in your Account Settings. [Implementing Google Analytics] Implementing Google Analytics
In Google Analytics account column open "Admin" and click "Create Account".
After filling all the fields click "Show advanced options" and turn on the switch for "Create a Universal Analytics property". Type your journal address (https://exampleusername.livejournal.com) in "site URL" field and choose "Only a Universal Analytics property" option.
Choose additional parameters on the next page and press "Create". You will get a "web property ID":UA-XXXXXXX-YY.
Go to the "Extensions" tab of the Account Settings page. If you are implementing Google Analytics for a community with Professional package of service, you should first switch to the community's account: you should choose this community from the drop-down menu in the "Work as user:" field and press "Switch".
Enter the web property ID "Enter your web property ID obtained from Google" and save changes.
You can make sure that the data collection is going on by doing this:
Log in to your Google Analytics account.
Open the "Reports" section.
In the reports list choose "Real time" and then "Browse".
Open any page from your journal in the new tab.
Go back to the Google Analytics reports and make sure your visit was recorded.
Enter your journal's address (https://exampleusername.livejournal.com) in the "URL prefix" field and press "Continue".
On the next page in "Other verification methods" tab choose "HTML tag".
Copy the "content" attribute from the field provided. It should look like this: NpZKSK2ATV3LTYIxsX4t78X0L_AI6bIA5BuhOMy4MCM
Paste the copied attribute on the Account Settings page on the "Extensions" tab in "Google Search Console" field and save changes. If you are implementing Search Console for a community you should first switch to the community's account: in the "Work as user:" field choose the community from the drop-down menu and press "Switch".
Click "Verify" on the Google Search Console page. If you receive congratulations from Google and message "submission successful", you can use the service. If you have pasted the "content" attribute in LiveJournal settings but Google doesn't confirm your account right away, please try again in a few hours.
Additional information on implementing the Search Console may be found at Google Support.
Information about the visitor, such as browser statistics, browser referer data, and presumed location based on IP address, is gathered by the script and sent directly to Google Analytics.
If you need help locating the Google Analytics Web Property ID or the Google Search Console meta tag content value, or viewing or interpreting your reports, please see the Google Analytics and Google Search Console documentation or technical support.