Sure thing, step by step:
A user clicks on a Google Adword for us:
They hit the landing page for that ad and Google adds a ?g=some info
So, the url for an organic or direct visit would be www.mysite.com/products
The url from a Google Adword click would read www.mysite.com/products?g=some info
My current code says if the url has a ? then show phone number A
or if the previous...
User Profile
Collapse
-
Thanks!
Is the "newurl.php " the URL of the current page? This is centralized code that is called on every page, so I would like it to pull the current URL and update it with the search of the previous URL. Will the code you provided do this?...Leave a comment:
-
Thanks for your reply. I need to make the addition of the query dymanic.
So something like location.href = (document.URL) + the ?query of the previous URL
That's obviously not real code, but that's my thought process so far.
So if the previous page was http://www.website.com/?g=[keyword]
The next page would take on the ?g=[keyword] of this page....Leave a comment:
-
Can you dynamically add a ? query string to a URL?
Hello,
I'm trying to append the query string in the URL from a previous page to the current page's URL. The original query is brought over from Google AdWords and my code determines if the URL contains a query. If it does contain a query, a new phone number is displayed to the visitor so that we can better track the performance of our keywords. Another part of the code determines if the previous URL had a query string and executes... -
Thanks for your reply. After reviewing the old server I discovered two things that were causing my issue:
The first was the fact that my IIS was using .NET 1 instead of 2, and the application is written for version 2. For whatever reason, after all updates, I had to install version 2 manually in order to allow it.
The second issue was that the temp folder in the .NET windows folder did not have the ASPNET account listed...Leave a comment:
-
New IIS Web Server Problem
Hello,
We are in the process of moving our company's Intranet onto a dedicated server that was just configured for that sole purpose. The pages are written in asp.net and the server is running .NET 2.0. The web site is running and the Intranet was functional on another IIS server, but when you attempt to navigate to any of the aspx pages, it says that it cannot find the requested page.
The entire site is located in the... -
Thanks, I am very new at JS, so I appreciate you taking the time to answer a simple question.
Chris...Leave a comment:
-
Dynamically change an image based on document.URL
Hello,
The objective of this script is to show visitors who found my site by clicking on one of our Google Adwords a specific telephone number (in graphic form) for the sake of tracking.
Here is the code I have been working on. My issue lies within the document.URL area of the script. I tried this code without declaring the source variable, but the script would redirect me to the document.URL declaration....
No activity results to display
Show More
Leave a comment: