The following example updates a visitor profile attribute with whether the visitor is a member of your website. Although not comprehensive, the example’s acceptance criteria has two parts:
The user has clicked on a link from your Drupal website with the URL /user within it (the default route within Drupal for users to login).
Configure This trigger fires on to Some Link Clicks.
Under Fire this trigger when an Event occurs and all of these conditions are true, configure the variable to an auto-event variable using the Element URL containing user. You must create the auto-event variable.
Save the Login Click trigger. Your trigger configuration displays like the following screenshot:
Create the tag in Google Tag Manager
Create a new tag titled Personalization - Update Person - Membership Status.
Add an Personalization Capture Tag.
Select the Capture type as Update Person.
In the Update Person Custom Parameters expandable section enter person_udf4 as the parameter name and true as the parameter value.
Add the LC - Login Link trigger as the trigger for the tag.
Click Save to use this tag update visitor attributes.
Update visitor attributes with Google Tag Manager
The following example updates a visitor profile attribute with whether the visitor is a member of your website. Although not comprehensive, the example’s acceptance criteria has two parts:
The user has clicked on a link from your Drupal website with the URL /user within it (the default route within Drupal for users to login).
Configure This trigger fires on to Some Link Clicks.
Under Fire this trigger when an Event occurs and all of these conditions are true, configure the variable to an auto-event variable using the Element URL containing user. You must create the auto-event variable.
Save the Login Click trigger. Your trigger configuration displays like the following screenshot:
Create the tag in Google Tag Manager
Create a new tag titled Personalization - Update Person - Membership Status.
Add an Personalization Capture Tag.
Select the Capture type as Update Person.
In the Update Person Custom Parameters expandable section enter person_udf4 as the parameter name and true as the parameter value.
Add the LC - Login Link trigger as the trigger for the tag.
Click Save to use this tag update visitor attributes.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.