Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1013407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:05:49+00:00 2026-05-16T10:05:49+00:00

Im promoting a website that has a simple Download Now button. When a user

  • 0

Im promoting a website that has a simple “Download Now” button. When a user clicks this button, they receive a file (a firefox addon that installs in their browser).

I’ve created a number of different version of the addon to use with different marketing channels (AdWords, Facebook Ads, Yahoo, etc). Each version has a unique ID that is passed back to our server to track installs/stats.

What I would like to do is read the URL of the incoming visitor, which contains specific marketing campaign IDs, and then when the user presses Download Now, deliver the appropriate file to them based on the marketing channel in that URL.

So if a user hits our site with the url: http://www.oursite.com/?utm_campaign=google&keyword=blah we will deliver the “google” version of the addon.

Is there a way to accomplish this? We’re running LAMP for the site.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:05:50+00:00Added an answer on May 16, 2026 at 10:05 am

    Create a page that looks at the utm_campain, and redirects the user to the appropriate download page.

    switch($_SERVER['utm_campaign'])
    {
    
       case 'google':
          header("Location: http://youservername.com/path/to/google_Download.xpi");
       break;
       case 'facebook':
          header("Location: http://youservername.com/path/to/facebook_Download.xpi");
       break;
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In TinyMCE, when a user clicks the link button, a popup window appears prompting
I recently inherited a website and they have a simple back-end area which was
Long story short, we found files promoting prescription drugs on our server that we
I had built a website for my client with Drupal 6 . Now he
Commonly, a website has a menu bar with links to different pages of the
I am building a website in CakePHP that processes files uploaded though an XML-RPC
I'm trying to do the following(in this order): Create a Rich Text Format file
I mean this quite literally. A close relative wants to create her own website
I have a Drupal site, site.com , and our client has a campaign that
I've got an interesting dilemma that has stumped me and a coworker. I'm trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.