Variables populating in subsequent server call also

Gold Contributor
Gold Contributor

Hi Team,

With the help of developers we have populated "Profile ID" in data layer on successful login of the user. We have given below code which developer has put on successful login:

---------------------------------------------------------------------------------------------------

<script type="text/javascript"

              utag.link({
                            tealium_event : "successful_login",
                            profile_ID    :   “abcd123xyz” });
</script>

---------------------------------------------------------------------------------------------------

Then we have used "set data value" extension to set the values:

set data values.PNG

After that we have done mapping in tags like this:

profile ID.PNG

 

Now once user perform successful login we are getting event server call and values are getting populated perfectly but the issue is we are also getting "eVar12" value in subsequent page load call as well. 

We don't want "eVar12" value in subsequent page load call. 

can someone please solve following issue or any other approach to solve this problem.

 

Thanks,

Parth

3 REPLIES 3

Variables populating in subsequent server call also

Gold Contributor
Gold Contributor

@ruipedromachado@kevin_allen@abrahameaso@BenStephenson@dragooon 

Can you guys please help!!

Variables populating in subsequent server call also

Tealium Expert
Tealium Expert
Is your profileID property set on the data layer on subsequent hits? The mapping on the AA tag will mean that it is populated whenever that value is in the data layer. So if the devs have updated the page data layer as well as populating it in the link call then it will pass on subsequent page loads.

Variables populating in subsequent server call also

Gold Contributor
Gold Contributor
Hi Ben,
Developers have passed profileID only one time in utag.link call only.
The situation is once user login on Home Page, there are two server calls. 1. Normal page Load Call which is coming from do plugin 2. Also utag.link call is coming which is set by developers from backend on sucessful login. And in this call only i have used "set data values" extension to set some of the values so that eVar and events can be set. So what is happening i'm not able to clearvar values of utag.link call and that's why variable value persist in page load call for the first time only on Home Page.
Need some way that profileID values don't go in "Home" page load call.

I hope you got my problem. Thanks!!
Public