Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to track a custom variable

Avatar

Avatar
Validate 1
Level 1
jono70
Level 1

Likes

3 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
jono70
Level 1

Likes

3 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
jono70
Level 1

15-05-2017

How do we track a custom variable?

In summary, we have a form on our website and when someone completes the form they receive a unique quote number. It is this unique quote number that we use to create a custom variable. If the customer returns to the site they input this unique quote number to show their details. The customer may return on more than one occasion (sometimes on the same day, sometimes on multiple days) and input their quote number.

We need to identify the first time/date the customer received this quote number, if this is possible?

tx

Jon

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

15-05-2017

HI Jon,

Are you using DTM on your site? If so, you can create a data element that uses a CCS selector or JSON to retrieve the value from the page. You would want to also create an event-based rule that is triggered when the forum is submitted. That way the data element would be called when the forum is submitted and the value would then be stored in the data element for use in whatever call/code you'd like. 

As for the date, there are a few options. I believe in Analytics you can set up your variable to keep track of the first value it received for each user. Another option would be to use some Javascript or a plugin to generate a time/date stamp at the time of the forum submission (this could be placed in the custom code section of the event-based rule). Once you've got the timestamp, you would have to decide if you wanted to include that in the same variable with the quote number or use a different variable for this.

let me know if I can provide additional details or clarification.

 

Thanks,
Jantzen

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
jono70
Level 1

Likes

3 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
jono70
Level 1

Likes

3 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
jono70
Level 1

20-10-2017

Many thanks Jantzen,

We've now resolved this by using a combination of Dimension, Segment and Metric to obtain this data.

Thanks again,

Jon