Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Assistance with passed in data. . .Assistance with passed in data. . .
Previous
 
Next
New Post
5/13/2013 4:37 PM
 

We are really struggling with the DNN environment and need your help.

We have DNN 7.0 and for the life of us cannot determine how to manage the variable for a visitor across the entire site. For example, we would like to create an Adwords campaign for customers who live within a 5 mile radius of our facility and to these customers we would like to display our physical street address, to the others we will not display our physical street address.

For example:
Google Adwords 5 mile campaign URL: www.GetTeck.com?address=true
Google Adwords else campaign URL: www.getteck.com?address=fase

After the user clicks on the Adwords link we want to know what the “true / false” value was while the customer remains on the site navigating among the pages.

We do not trying to place a cookie for future use, we just want to pass a URL query string in the initial URL and then be able to somehow preserve the variable – there has got to be some way to managing / maintaining data in the system? Otherwise the DNN environment is not much better than a set of static pages!

Understand that we are NOT saying we want to use session variables or cookies - we just want to do this the correct way for DNN.

Can we just query the query string and store the data in the DNN database during the users session? What should we do?

 
New Post
5/14/2013 7:34 AM
 
You can do that but you would have to pass that value to every page in the site and then have code to read it on every page. Also, the user could manually remove it from the querystring and then you'd lose the value.

I'd set a session when you detect the variable and do whatever you need to do.

Mark
 
New Post
5/14/2013 8:03 AM
 
I don't know if I understand correctly, but
can you add custom property to user profile, that will describe for example the user location ?
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Assistance with passed in data. . .Assistance with passed in data. . .


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out