You need to sign in to do that
Don't have an account?
Pratiksha Shevade
How to use single community for site that have different Google Analytics Ids as per parameter it receives.
I want to use single community for site that have different Google Analytics Ids depending upon the parameter it receives.
In one community I can set only one GA id in experience builder. Can I make this dynamic? I do not want to create multiple communities. I want to achieve something like below using single community-
www.singlecommunity.com/myapplication?type=TypeOne
www.singlecommunity.com/myapplication?type=TypeTwo
Both these links will have different GA ids e.g.
for TypeOne parameter GA Id = G-12345type1
for TypeTwo parameter GA Id = G-45678type2
How this can be achieved?
In one community I can set only one GA id in experience builder. Can I make this dynamic? I do not want to create multiple communities. I want to achieve something like below using single community-
www.singlecommunity.com/myapplication?type=TypeOne
www.singlecommunity.com/myapplication?type=TypeTwo
Both these links will have different GA ids e.g.
for TypeOne parameter GA Id = G-12345type1
for TypeTwo parameter GA Id = G-45678type2
How this can be achieved?
You might want to post this in (https://support.google.com/analytics/community?hl=en&help_center_link=[10071811,%22[GA4]%20Set%20up%20cross-domain%20measurement%22]&sjid=13096057912998434977-AP) for further inputs.
Related:
https://help.salesforce.com/s/articleView?id=sf.sites_analytics_tracking_code.htm&type=5 (https://help.salesforce.com/s/articleView?id=sf.sites_analytics_tracking_code.htm&type=5)
https://salesforce.stackexchange.com/questions/182199/how-to-add-google-analytics-tracking-id-to-communities-built-on-salesforce-tabs
Thanks.