Hi i need to know
Will referral work in iframe too?
Please let me know this?
Will it count my referal when user come from that page ?
Staff please help!- Author was Featured
- Beta Tester
- Bought between 10 and 49 items
- Community Moderator
- Contributed a Blog Post
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Grew a moustache for the Envato Movember competition
- Has been a member for 4-5 years
It should work fine yes! Could you explain a bit more how you are implementing this and we’ll be able to give a more definitive answer! 
I suppose you’re linking to the demo link. Yes, it does work 
Thanks for your input guys
Here is what i am going to create
This will be my affiliate engine to Envato.
25% of the page (Left sidebar or RIght sidebar ) will have Item information , Review the item button,
and in remaining there will be iframe view of the page
I will iframe the example with my referral parameter
so it will look like Example<div class="leftside"> Item Title Short Desc Pic If possible Review Button </div> <div class="Rightsideiframe"> <iframe src="http://codecanyon.net/item/mobile-jquery-slider-a-jui-product/151707" width="75%"> </iframe></div>
So my question is that.
When someone clicks on iframe preview will it count my referral.
Thanks
Oh, you’re loading the theme demo in an iframe on your site? This means it would work just like visiting the demo directly, with no affiliate link.
I guess you could do some Javascript that mathces the themeforest.net/* URLs and appends the ?ref = yourusername part to them.
Haven’t tested, but maybe this would also work:
<div class="Rightsideiframe">
<iframe src="http://codecanyon.net/item/mobile-jquery-slider-a-jui-product/151707?ref = yourusername" width="75%">
</iframe></div>
- Author was Featured
- Beta Tester
- Bought between 10 and 49 items
- Community Moderator
- Contributed a Blog Post
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Grew a moustache for the Envato Movember competition
- Has been a member for 4-5 years
Adding the ?ref = username to the URL in the src attribute of the iframe will work fine. And every time the iframe is viewed (doesn’t have to be clicked on) it will count as a referal!
P.S. I see you used my item as the example!
You know how to get on a mod’s good side!

digitalimpact said
Oh, you’re loading the theme demo in an iframe on your site? This means it would work just like visiting the demo directly, with no affiliate link.I guess you could do some Javascript that mathces the themeforest.net/* URLs and appends the ?ref = yourusername part to them.
Haven’t tested, but maybe this would also work:
I will be loading Item page instead of Demo page , So i can refer them to Product it self.
Javascript , I guess it will not be able to modify Iframe links , Will it be ?
I wish there was a tool to test if URL is being referred.
Thanks Digital
Adding the ?ref = username to the URL in the src attribute of the iframe will work fine. And every time the iframe is viewed (doesn’t have to be clicked on) it will count as a referal! P.S. I see you used my item as the example!Wow sounds interesting , If it works my problem gets solved.You know how to get on a mod’s good side!
![]()
![]()
Lol yeah , had to use an example so why not yours. Will give you some sales soon . 
- Author was Featured
- Beta Tester
- Bought between 10 and 49 items
- Community Moderator
- Contributed a Blog Post
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Grew a moustache for the Envato Movember competition
- Has been a member for 4-5 years
jackpotsoft said
Adding the ?ref = username to the URL in the src attribute of the iframe will work fine. And every time the iframe is viewed (doesn’t have to be clicked on) it will count as a referal! P.S. I see you used my item as the example!Wow sounds interesting , If it works my problem gets solved.You know how to get on a mod’s good side!
![]()
![]()
Lol yeah , had to use an example so why not yours. Will give you some sales soon .
![]()

Also, I can tell you that JavaScript is definitely not needed in any way! 
- Community Moderator
- Won a Competition
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Item was Featured
- Grew a moustache for the Envato Movember competition
- Author was Featured
- Bought between 100 and 499 items
- Referred between 200 and 499 users
Are you using WordPress?
HarveyDesign said
Are you using WordPress?
Hi Harvey, Yes i will be using Wordpress for it .
Do you recommend something else?
