Skip to main content
Auto Login URL
Andrej Janev avatar
Written by Andrej Janev
Updated over 5 months ago

How it works

Normally if a user enters your promotion from one device, then returns to the page a few days later on the same device, we remember the user and immediately direct them to the post-entry page.

However, if the user returns on a new device, they will have to fill in the form again. Once they fill in the form, we recognize their previous entry information and show them the post-entry page.

Using the [AUTO_LOGIN_URL] parameter in your email notification provides the entrant with a smart link. This link automatically takes them to the post-entry page of the promotion, and it will work for any entrant, regardless of which device they enter with.

Use Cases/Benefits

The main use case for Auto Login URL is when you are using our Facebook Lead Ads integration.

Since there is no way for us to show a lead from Facebook Ads the post-entry page (once they fill in a lead form), you can send them an email that contains the [AUTO_LOGIN_URL] parameter which will recognize they have already entered and it will take them to the post-entry page.

Setup

Using the email notifications feature, you simply need to include the [AUTO_LOGIN_URL] parameter anywhere in your email. When an email is sent, we automatically pre-fill this parameter with the appropriate link for the user.

The one caveat to this feature is the URL must point to app.viralsweep.com, even though when clicked it will automatically redirect to your landing page URL.

If you are including this in your email notification and are concerned that the app.viralsweep.com URL will show, you can still mask it using an HTML link.

Switch to HTML on the email notification, and include the parameter like this:

<a href="[AUTO_LOGIN_URL]">http://yoururl.com</a>

Example Email Template (Plain-Text)

Feel free to use this email template when sending out your email notification:

Hi [ENTRY_NAME]!
Thanks for entering our sweepstakes, your entry is now confirmed.

Want to increase your chances of winning? Click this link and complete some bonus actions: [AUTO_LOGIN_URL].

If you want to share this campaign with your friends, this is your unique referral link: [REFER_URL].

For every friend that enters the sweepstakes through this link, you will earn +1 additional entry.

These sweepstakes will end on [END_TIME].

Good luck!

Example HTML Email Template

Hi [ENTRY_NAME]!</br></br>Thanks for entering our sweepstakes, your entry is now confirmed.</br></br>Want to increase your chances of winning? Click this link and complete some bonus actions:</br></br><a href="[AUTO_LOGIN_URL]">http://yoururl.com</a></br></br>If you want to share this campaign with your friends, this is your unique referral link: [REFER_URL].</br></br>For every friend that enters the sweepstakes through this link, you will earn +1 additional entry.</br></br>This sweepstakes will end on [END_TIME].</br></br>Good luck!

Troubleshooting

I included [AUTO_LOGIN_URL] in my email but it is showing a ViralSweep URL

If you do not use the HTML version of the email then we will display an app.viralsweep.com link in the email that will then link to your landing page URL.

I added [AUTO_LOGIN_URL] to my Purchases promotion, but it is not working.

This feature is not supported on Shopify or BigCommerce Purchase promotions since the ViralSweep form is behind your checkout.


We're here to help

If you have any further questions, please start a Chat. Just "Click" on the chat icon in the lower right corner to talk with our support team.

Did this answer your question?