wailer
wailer

Reputation: 551

What would be DTM direct call rule in GTM

I am new to Google Tag Manager.

Currently Adobe dynamic tag manager gets tracking data from my site using Direct Call Rule. I am trying to understand what is direct call rule in Google Tag Manager (GTM)?

Thanks

Upvotes: 0

Views: 713

Answers (2)

Tino
Tino

Reputation: 1

I always use

dataLayer.push({'event': 'DirectCallRuleName'});

In GTM do the following

  1. TriggersNEW
    • Trigger Type: Custom Event
    • Event Name: DirectCallRuleName (or any other name you have chosen)
    • This trigger fires on: All custom events
  2. TagsNEW
    • Track Type: Event
    • Category, Action, Label as you wish
    • Triggering: Trigger you have created in 1.

Upvotes: 0

Jakub Otrząsek
Jakub Otrząsek

Reputation: 66

In GTM there is dataLayer object. In implementation you can use something similar to

dataLayer.push({
    'event':'YourAction', 
    'eventCategory':'xxxx', 
    'eventAction': action, 
    'eventLabel': 'xxxx', 
    'eventValue': 'xxxx', 
    'eventNonInteraction': true
});

Above is similar to _satellite.track('YourAction');

then you need to create a rule with custom event where you need to provide YourAction as name.

In your Tag where you wish to use this direct call rule, as running rule you should use created rule.

Hope it helps.

Upvotes: 2

Related Questions