solved Google Analytics for Custom Domains

PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
It would be awesome if there was a [Quota Config] for the Google Analytics module. That way members that have a custom domain could track their own stats.

What do you guys think?


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 10/07/16 08:07:13PM
michael
@michael
8 years ago
7,748 posts
Think it needs more thought.

In order to get the adwords code you need to prove you own the domain but the profile owners dont own the domain.

If the owners are tracking their own stats how does that effect the site tracking. Does google allow tracking of a single domain by multiple different separate analytics accounts.

Interesting idea in concept, but not sure what problem it solves.
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
This post I made a while ago, shows how to use the meta tag manager to verify your site with Google.

https://www.jamroom.net/the-jamroom-network/forum/my_posts/37458/meta-tag-manager-is-awesome

I have already done this with a single profile that does not even have its own domain name and I am successfully linked to Google +.... which means it should work for analytics too.

We are already working with several other websites and some have already transferred over. We are using Jamroom like a Wordpress Multi-site set up. JR is the BEST!


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 06/09/16 02:27:57PM
michael
@michael
8 years ago
7,748 posts
Interesting idea. Quite ingenious actually. Not sure about how google will handle it.

As for getting whatever code you want out there, if you require input from the user for the profile, go to
PROFILE SETTINGS -> FORM DESIGNER and add a form field. Maybe a textarea field if you want them to paste the whole script in there, or just a text field if you just want their id.

Then in the profile_footer.tpl, check for that being populated and add the code in.
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
Interesting thing just happened :) google-site-verify just changed slightly.

It now requires a trailing />

Could someone update the {$profile_google_site_verify} code in the meta tag manager?

It currently prints:
<meta name="google-site-verification" content="AO0H7ltcRglQnBt4LO1Pj-17mq-bgmiSQa7pqBb13e0">

But it needs to be:
<meta name="google-site-verification" content="AO0H7ltcRglQnBt4LO1Pj-17mq-bgmiSQa7pqBb13e0" />

Thanks :)


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
Not to side-track from my request above, but Google Analytics does support multiple tracking codes.

https://support.google.com/analytics/answer/1032400?hl=en


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
michael
@michael
8 years ago
7,748 posts
PatriaCo:.....
Interesting thing just happened google-site-verify just changed slightly.
It now requires a trailing>
....

Jamroom pages are html5

Stackoverflow question: "Do we still need end slashes in html5?"
http://stackoverflow.com/questions/7366344/do-we-still-need-end-slashes-in-html5#7366380

Quote: (img, gr, col, command, embed, hr, img, input, meta) tags are Void Elements so they do not need an end tag.

If google requires it, please post links to the docs which say so.
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
Maybe Google didn't get the memo?

I can see the meta tag in my source code, but Google is not verifying today. :(


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
*UPDATE* it must be a Google issue today because I cannot verify using any method they offer. I can even see live analytics using both my main site analytics code and the profile's analytics code... BUT a big "no-go" on site verification using analytics or anything else. So I have a ticket into Google for it.


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

Tags