How can I set Google analytics Enhanced custom dimessions‘s scope in hit or session?

dac-cho
Visitor
dac-cho

image.png

 

 

 

4 REPLIES 4

How can I set Google analytics Enhanced custom dimessions‘s scope in hit or session?

Srinivasan
Super Contributor
Srinivasan Super Contributor
Hello @dac-cho,

I would suggest you to add Custom Dimension instead of selecting from the drop down menu which has been attached in above screenshot.

Please view the following thread for your reference.

https://community.tealiumiq.com/t5/Tealium-iQ-Tag-Management/Mapping-Product-Custom-Dimension-in-Goo...

Hope it helps! Happy Learning!! Please let us know if you need any more details on the same.

Have a great day!!!!

How can I set Google analytics Enhanced custom dimessions‘s scope in hit or session?

dac-cho
Visitor
dac-cho

Thanks for the response. I will try it.

How can I set Google analytics Enhanced custom dimessions‘s scope in hit or session?

Srinivasan
Super Contributor
Srinivasan Super Contributor
Hello @dac-cho,

Yes, please try it and let us know if you need any more clarifications to proceed further.

Its our pleasure to help!!!

Happy Learning!!!
Highlighted

How can I set Google analytics Enhanced custom dimessions‘s scope in hit or session?

Community Manager
Community Manager

Hi @dac-cho,

Simple answer:

Use All Page Hits (set) or pageview for session-level scoped dimensions.

Long answer:

The scope of dimensions is configured in the Admin area of your Google Analytics account. Hit-level and scope-level dimensions can be sent from the page using the same code or method. Read more about session-level scope and custom dimensions.

The options in the Event Type drop-down menu correspond to the following Google Analytics usage:

  • All Page Hits (set) - sent with all hits on a page or the lifetime of the tracker.
    Google Analytics equivalent:
    ga('set', 'dimension5', 'custom data');
    References: Google Analytics Dev Guide: Custom Dimensions and Metrics
  • pageview - sent with all page view tracking calls (page load or utag.view())
    Google Analytics equivalent:
    ga('send', 'pageview', {
     
    'dimension5':  'custom data'
    });
  • link - sent with all event tracking calls (utag.link())
    Google Analytics equivalent:
    ga('send', 'event', 'category', 'action', {
     
    'dimension5': 'custom data'
    });
  • transaction - sent with order events.
Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.