The General Data Protection Regulation (GDPR), which took effect on May 25, 2018, is a set of regulations governing the use of personal data across the EU. This is forcing some affiliates to obtain user data through opt-in consent (updated privacy policies and cookie notices), even if they are not located in the European Union. This new regulation should also remind you to follow FTC guidelines and clearly disclose that you receive affiliate commissions from your recommendations. 
Testimonials. If case studies aren't a good fit for your business, having short testimonials around your website is a good alternative. For B2C brands, think of testimonials a little more loosely. If you're a clothing brand, these might take the form of photos of how other people styled a shirt or dress, pulled from a branded hashtag where people can contribute.
Spam is the biggest threat to organic search engines, whose goal is to provide quality search results for keywords or phrases entered by their users. Google's PageRank algorithm update ("BigDaddy") in February 2006—the final stage of Google's major update ("Jagger") that began in mid-summer 2005—specifically targeted spamdexing with great success. This update thus enabled Google to remove a large amount of mostly computer-generated duplicate content from its index.[33] 

Smart affiliate program managers understand the value of free.  Instead of telling you to promote their salespage, many offer a valuable freebie that provides real value to prospect.  All you have to do is mention this freebie and provide a place to get it.  After that, the site owner will follow-up with a prospect and sell them on the benefit of purchasing a product.
Here is something that I didn’t think about before if you are selling informational type products. If you want to make a lot of money very quickly you will need to build a list of names and email addresses. The larger the list the better. That way when someone has a product that you can sell as an affiliate you can just send out an email message to your email list and people will start buying from you that day or in the very near future.
For example, if I talk about how cool a product is, and then you find out that I’m an affiliate for them, wouldn’t you as a conscientious observer become skeptical as to whether my information is biased, if perhaps I’m only saying how cool something is because I can get paid for it? Wouldn’t that make you question my integrity with other things I say as well?
SkimLinks works very similarly to VigLinks in that it is designed for bloggers who don’t want to do a lot of hands-on work to participate in an affiliate program. SkimLinks also works much like VigLinks in that it uses a plugin or script to create dynamic links in your content to send visitors to higher paying offers from merchants. SkimLinks claims to work with over 24,000 merchants/advertisers.

You can iron out the details of how you will go about your PPC ads for the merchant once you’re granted permission to run paid ads on their behalf. Ask about advertising guidelines (some companies are strict when it comes to advertising and their brand), prohibited keywords, and expectations from each other. Talk to the merchant’s marketing team so you can maximize resources instead of replicating each other’s efforts.
“Affiliate marketing is a relationship business, period. Whether you are a product owner doing the affiliate management or an affiliate manager, make sure you spend your energy building relationships and true friendships. It’s always easier and more profitable to do business with people you know, rather than just some person with which you have only exchanged emails,” Alarid said.
Once again, Steve, you continue to have this negative bias towards dropshipping, without any personal explanation as to why. Have you ever tried it? If you’re wanting people to build an online store for the first time, shouldn’t they be allowed to choose? Isn’t a balanced view between the different types of stores available more fair? If you don’t like drop shipping, then maybe you should state that somewhere out loud on your site “we build online stores (but inventory-only stores)” so anyone interested in drop shipping can stop wasting their time on your site. Transparency prevails, right? It’s only fair to new site visitors after all.
Individual sellers and companies offering products or services have to deal with their consumers and ensure they are satisfied with what they have purchased. Thanks to the affiliate marketing structure, you’ll never have to be concerned with customer support or customer satisfaction. The entire job of the affiliate marketer is to link the seller with the consumer. The seller deals with any consumer complaints after you receive your commission from the sale.

With offline marketing, it's very difficult to tell how people are interacting with your brand before they have an interaction with a salesperson or make a purchase. With digital marketing, you can identify trends and patterns in people's behavior before they've reached the final stage in their buyer's journey, meaning you can make more informed decisions about how to attract them to your website right at the top of the marketing funnel.
In 2006, the most active sectors for affiliate marketing were the adult gambling, retail industries and file-sharing services.[21]:149–150 The three sectors expected to experience the greatest growth are the mobile phone, finance, and travel sectors.[21] Soon after these sectors came the entertainment (particularly gaming) and Internet-related services (particularly broadband) sectors. Also several of the affiliate solution providers expect to see increased interest from business-to-business marketers and advertisers in using affiliate marketing as part of their mix.[21]:149–150
When beginning your affiliate marketing career, you’ll want to cultivate an audience that has very specific interests. This allows you to tailor your affiliate campaigns to that niche, increasing the likelihood that you’ll convert. By establishing yourself as an expert in one area instead of promoting a large array of products, you’ll be able to market to the people most likely to buy the product.
8Binary offers any level trader the opportunity to use market leading trading platforms to manage risk and maximize profits. With a truly global reach and renowned customer service, 8Binary is a secure and safe way to trade Binary Options. Committed to offering all of its clients the safest and most user-friendly experience, 8Binary is the trusted name in the market. Whether you are a beginner, retail investor or a professional trading entity, 8Binary guarantees the best user experience possible.
Cost per mille requires only that the publisher make the advertising available on his or her website and display it to the page visitors in order to receive a commission. Pay per click requires one additional step in the conversion process to generate revenue for the publisher: A visitor must not only be made aware of the advertisement but must also click on the advertisement to visit the advertiser's website.
Affiliate marketing is commonly confused with referral marketing, as both forms of marketing use third parties to drive sales to the retailer. The two forms of marketing are differentiated, however, in how they drive sales, where affiliate marketing relies purely on financial motivations, while referral marketing relies more on trust and personal relationships.[citation needed]
“If your deals are loose, your affiliate partners’ mailings will be loose too, which is never good for the bottom line. If the deal is structured clearly, and agreed upon by both sides, then they should be active when they said they would be. However, if they are not, you at least have the deal agreed upon in writing, that you can reference with someone higher up in the company to make sure that the deal gets pushed through,” she said.
Two methods of setting up reasonably passive income online are dropshipping and affiliate marketing. At first glance, they seem somewhat similar, with a few pros and cons for each that can make a decision easy. But wait! There are actually some subtle differences that might sway you in one direction or another. Which one is better, and which should you pick?
The main downside to dropshipping is that as the store owner, you’re responsible for customer support. Fortunately, you can easily outsource the customer support to someone who specializes in it on Upwork.com for an affordable price. All you need to do is provide guidelines and general responses for the customer support representative to follow. By outsourcing this component, you free your time up to focus on marketing and optimization. This allows you to grow your business faster.

Now there is a big difference in those two different business models, not just in terms of how you make money but in terms of where you can advertise. With Google, especially Google Adwords and Google Product Listing Ads, they do not allow affiliate sites. You can’t upload your CSV of products and get traffic from Google if you have an affiliate site. And that is massive!
Sounds fair. It’s just that the discussion veered from the topic of the post which was what method would make you the most money, not which one requires the most amount of work. In any case, I do both and have been successful with both business models. But in trying to replace a full time income in the shortest amount of time, online stores have greater money making potential.

To know if affiliate marketing is profitable or not you must know that it is a great way to earn passive income. You will have to figure out how to market your affiliate products, but otherwise, it doesn’t require full-time activity from your side. In fact, most people are earning a huge passive income just by affiliate marketing. One of the most prominent ones is Pat Flynn.

“Work with them to get them custom affiliate assets (custom landing page, custom email swipe copy, etc) if they are big affiliates, because they drive the vast majority of your revenue. Give them all of their assets well in advance of the mailing, so they have time to load and test. When you deliver the assets, give them their login information for your affiliate portal again, but also hand delivers their links and needed materials, so they don’t have to dig around for them in your portal. Make sure to test the link before delivery,” Spears said.

Spam is the biggest threat to organic search engines, whose goal is to provide quality search results for keywords or phrases entered by their users. Google's PageRank algorithm update ("BigDaddy") in February 2006—the final stage of Google's major update ("Jagger") that began in mid-summer 2005—specifically targeted spamdexing with great success. This update thus enabled Google to remove a large amount of mostly computer-generated duplicate content from its index.[33]
I’d stick with Amazon if I were you. All of my Amazon sites only have Amazon affiliate links. If you use Google Adsense display ads on your site, you’re literally taking people away from your site for the sake of just a few cents with these type of ads. If you direct them just to Amazon, then you have a greater chance of earning more money from that click.
Cost per mille requires only that the publisher make the advertising available on his or her website and display it to the page visitors in order to receive a commission. Pay per click requires one additional step in the conversion process to generate revenue for the publisher: A visitor must not only be made aware of the advertisement but must also click on the advertisement to visit the advertiser's website.
The implementation of affiliate marketing on the internet relies heavily on various techniques built into the design of many web-pages and websites, and the use of calls to external domains to track user actions (click tracking, Ad Sense) and to serve up content (advertising) to the user. Most of this activity adds time[citation needed] and is generally a nuisance to the casual web-surfer and is seen as visual clutter.[citation needed] Various countermeasures have evolved over time to prevent or eliminate the appearance of advertising when a web-page is rendered. Third party programs (Ad-Aware, Adblock Plus, Spybot, pop-up blockers, etc.) and particularly, the use of a comprehensive HOSTS file can effectively eliminate the visual clutter and the extra time and bandwidth needed to render many web pages. The use of specific entries in the HOSTS file to block these well-known and persistent marketing and click-tracking domains can also aid in reducing a system's exposure to malware by preventing the content of infected advertising or tracking servers to reach a user's web-browser.[citation needed]
While that may not sound like much, affiliate marketing can be surprisingly profitable for websites that have large, committed user bases that consistently return. After all, in affiliate marketing, every person you send to a company’s website is another chance to earn a commission. So it’s in your best interest to attract as many visitors to your site as possible so you can turn the biggest profit possible.
When you create sign-up or subscription forms, include options for subscribers to self-select preferences. Even free platforms like MailChimp allow you to provide segmenting options. For instance, you can ask subscribers about particular interests, product preferences, or content interests. Options for affiliate marketers may include: 1) Newsletters, 2) Deals and Discounts, 3) Announcements and 4) New Product Updates. Some subscribers may select to receive content on all of these, whereas others might only have interest in one or two.
An email campaign is a powerful way of reaching your audience directly. Never miss a chance to collect email addresses and target your subscribers with content and offers that are relevant to them. Readers usually skim instead of reading the entire message. Keep your email clear, concise, and scannable. Include a call to action so your readers can understand what you want them to do. A/B test different headlines, images, copy, and subject lines to see what works best for your audience. And, always test your campaign before sending it.
For me I would choose a program with Recurring commission. You can build a real passive income. Its the best way to go! One suggestion is contact companies who sell services and ask if you can sell their service for them. Sometimes popular affiliate programs like these have just way too many people trying to sell their service. I personally went to sitecare.ca and asked them if I could sell their service and I couldn’t be happier! So find a service you believe in and go for it!
Although you have total control over the sort of items you can market or store, you can't control the delivery. Thus, many times people have complained about the items arriving late. This happens since the supplier delivers the items to his comfort and only offers you the shipping order ID - which you pass onto your buyer to so he/she can track the order.
Now there is a big difference in those two different business models, not just in terms of how you make money but in terms of where you can advertise. With Google, especially Google Adwords and Google Product Listing Ads, they do not allow affiliate sites. You can’t upload your CSV of products and get traffic from Google if you have an affiliate site. And that is massive!
Unlike most offline marketing efforts, digital marketing allows marketers to see accurate results in real time. If you've ever put an advert in a newspaper, you'll know how difficult it is to estimate how many people actually flipped to that page and paid attention to your ad. There's no surefire way to know if that ad was responsible for any sales at all.
What is even more important, your money is always within an easy reach. You don’t need to wait for it for months – you get it into your account as soon as a purchase is made. It gives you the opportunity for further growth and development as you can use the money to boost your dropshipping store traffic. Affiliates don’t have this luxury – they stay stuck without their profit for months, so they can’t properly enhance their business performance.
When you partner with an influencer with a large following, make sure there’s a clear CTA. The influencer will get engagement in the form of likes and comments, but you need their followers to click through to your page. Instead of asking an influencer to show your product and mention it by name, give them a promo code to share with their followers. The benefit of a special promo code is getting followers to act and the ability to track conversions based on it. For example, you can see how many people used the code to buy something during the campaign.
For example, if you’re an Amazon affiliate promoting fashion you can add integrated dropshipped goods to your store. Since you already have an audience, adding a store is an easy way to make money. In addition, the amount of work required for a store is mostly upfront work. This includes adding products to the store and writing product descriptions. Afterward, all you need to manage are your orders, marketing, and customer service. You can even outsource some of the work to make the workload even lighter.
SkimLinks is primarily for established content producers (bloggers) who want to monetize their content. With a powerful WordPress plugin and scripts for just about any website type, setting up SkimLinks is very easy. And because you have access to all offers on their platform after you’re approved, SkimLinks is very well designed for affiliates who don’t want to spend a lot of time fiddling around with settings and other fine-tuning.
Dropshipping does have the primary drawback that there is a lot of existing competition. If you’re trying to sell $10 tablet cases for $20, you can bet there are other people out there trying to do the same thing. Some of them might price their cases at $15, in which case you have to ask yourself; why would a user buy from me rather than from them? What value do I add for $5 that the competition cannot? Often, you have nothing tangible, so you have to provide that value in terms of information and trust.
Drive traffic to your affiliate program. Once you've built a popular platform and secured affiliates to work with, you'll need to drive traffic to your affiliate program. There are a number of ways to accomplish this, but one of the easiest and most successful methods involves writing a blog post or web article and using your email newsletter to invite your subscribers to join the affiliate program of your choosing.[18] Other methods include:
You just keep sending out something new to your email list on a regular basis and people will purchase from you. You will need to use what is called an autoresponder service to do this. You can try aweber.com or icontact.com or getresponse.com. They are three of the best. There is also a free one that is called mailchimp.com. Steve talks about mailchimp and aweber in his posts. Of course not everyone will purchase from you, some will purchase more than others.
There are actually several different types of affiliate marketing, but let’s focus on PPC. A good and effective PPC marketing strategy can be enough to generate profit, but it is also a difficult strategy because you’re paying for ads that might not bring in revenue. Still, it’s one of the most ideal ways to scale your marketing efforts once you’ve established or exhausted the organic route.
Cost per click was more common in the early days of affiliate marketing but has diminished in use over time due to click fraud issues very similar to the click fraud issues modern search engines are facing today. Contextual advertising programs are not considered in the statistic pertaining to the diminished use of cost per click, as it is uncertain if contextual advertising can be considered affiliate marketing.
Cost per click was more common in the early days of affiliate marketing but has diminished in use over time due to click fraud issues very similar to the click fraud issues modern search engines are facing today. Contextual advertising programs are not considered in the statistic pertaining to the diminished use of cost per click, as it is uncertain if contextual advertising can be considered affiliate marketing.
I really enjoyed this post. While Jim and Evan clearly have a lot of their own experience, many do not. You were able to explain clearly the difference between affiliate marketing and dropshipping, then share your honest opinion (oh, the beauty of blogging). I think this post would be a great help to a new entrepreneur when researching the possibilities for their new business.
In 1994, Tobin launched a beta version of PC Flowers & Gifts on the Internet in cooperation with IBM, who owned half of Prodigy.[10] By 1995 PC Flowers & Gifts had launched a commercial version of the website and had 2,600 affiliate marketing partners on the World Wide Web. Tobin applied for a patent on tracking and affiliate marketing on January 22, 1996, and was issued U.S. Patent number 6,141,666 on Oct 31, 2000. Tobin also received Japanese Patent number 4021941 on Oct 5, 2007, and U.S. Patent number 7,505,913 on Mar 17, 2009, for affiliate marketing and tracking.[11] In July 1998 PC Flowers and Gifts merged with Fingerhut and Federated Department Stores.[12]
Developing and monetizing microsites can also garner a serious amount of sales. These sites are advertised within a partner site or on the sponsored listings of a search engine. They are distinct and separate from the organization’s main site. By offering more focused, relevant content to a specific audience, microsites lead to increased conversions due to their simple and straightforward call to action.
Even if you’re in a super-tight niche, you probably write blog posts about more than one subtopic in your niche. For example, maybe some of your posts are about deep sea fishing in the Pacific and some are about deep sea fishing in the Atlantic. Or maybe some posts are about knitting with wool and some are about knitting with acrylics. No matter what the topics are, you can offer one lead magnet for each of them. Some marketers have doubled their opt-in rate with this technique.

Affiliates were among the earliest adopters of pay per click advertising when the first pay-per-click search engines emerged during the end of the 1990s. Later in 2000 Google launched its pay per click service, Google AdWords, which is responsible for the widespread use and acceptance of pay per click as an advertising channel. An increasing number of merchants engaged in pay per click advertising, either directly or via a search marketing agency, and realized that this space was already occupied by their affiliates. Although this situation alone created advertising channel conflicts and debates between advertisers and affiliates, the largest issue concerned affiliates bidding on advertisers names, brands, and trademarks.[39] Several advertisers began to adjust their affiliate program terms to prohibit their affiliates from bidding on those type of keywords. Some advertisers, however, did and still do embrace this behavior, going so far as to allow, or even encourage, affiliates to bid on any term, including the advertiser's trademarks.
I suppose it could be a different story for me since I’m more focused on the blogging area of internet marketing. Speaking of, what do you think the benefits/drawbacks are of the blogging approach vs. the email only approach when it comes to internet marketing? A lot of SEO “gurus” out there say blogging is essential because of the extra link-power it can give your site. Obviously you’ve had a lot of success with both approaches – what’s your opinion on the issue?
You can iron out the details of how you will go about your PPC ads for the merchant once you’re granted permission to run paid ads on their behalf. Ask about advertising guidelines (some companies are strict when it comes to advertising and their brand), prohibited keywords, and expectations from each other. Talk to the merchant’s marketing team so you can maximize resources instead of replicating each other’s efforts.

While that may not sound like much, affiliate marketing can be surprisingly profitable for websites that have large, committed user bases that consistently return. After all, in affiliate marketing, every person you send to a company’s website is another chance to earn a commission. So it’s in your best interest to attract as many visitors to your site as possible so you can turn the biggest profit possible.


LinkConnector is something of a mixed bag, so it’s probably best for experienced affiliates who have become disillusioned with other networks and are looking to expand. LinkConnector’s bizarre mix of high-quality products and a low-quality dashboard make it hard to truly assess its viability, but their exclusive deals with some vendors can make it a true home run for publishers working in certain niches.

Adgild Hop, Head of Retail Consulting at Cap Gemini commented “2014 has been an important milestone for the online retail sector, with the £100 billion mark being exceeded for the first time. When we consider that almost £1 in every £4 is now spent online, and that a large proportion of the other £3 is influenced by some form of digital interaction, it becomes very clear that retailers need to continue to embrace the opportunity that e-retail poses.”


Since I share affiliate marketing strategies with awesome people like you, naturally my content may contain affiliate links for products I use and love. If you take action (i.e. subscribe, make a purchase) after clicking one of these links, I’ll earn some coffee money ☕️ which I promise to drink while creating more helpful content like this.Affiliate Disclosure
For example, if I talk about how cool a product is, and then you find out that I’m an affiliate for them, wouldn’t you as a conscientious observer become skeptical as to whether my information is biased, if perhaps I’m only saying how cool something is because I can get paid for it? Wouldn’t that make you question my integrity with other things I say as well?
Because of the lack of need for major investment in capital assets and stock, both affiliate marketing and dropshipping are fairly low-risk pursuits. You will still need to invest in marketing strategies and if you don’t make returns on your investment, you can and will lose money. However, you won’t amass vast amounts of debt on loans used to start out. Or at least you certainly shouldn’t.
Brands are using both types of marketing effectively. Both channels are useful for boosting a brand’s business and market share, so don’t feel as if you have to limit yourself to one or the other. If you aren’t already incorporating both influencers and affiliates into your marketing strategy, you’re missing out on some of the best possible opportunities to grow sales and brand awareness.
Tradedoubler was founded in 1999 by two young Swedish entrepreneurs. They have offices in the UK and multiple countries throughout Europe, including Sweden, Germany, France, Poland and Spain. Their focus has always been to provide smarter results for both clients and affiliates through technology. In 18 years, they’ve amassed an army of 180,000 active publishers, connecting them to over 2,000 merchants in Europe and the UK. Many of these merchants are household names.
When beginning your affiliate marketing career, you’ll want to cultivate an audience that has very specific interests. This allows you to tailor your affiliate campaigns to that niche, increasing the likelihood that you’ll convert. By establishing yourself as an expert in one area instead of promoting a large array of products, you’ll be able to market to the people most likely to buy the product.
Forms of new media have also diversified how companies, brands, and ad networks serve ads to visitors. For instance, YouTube allows video-makers to embed advertisements through Google's affiliate network.[22][23] New developments have made it more difficult for unscrupulous affiliates to make money. Emerging black sheep are detected and made known to the affiliate marketing community with much greater speed and efficiency.[citation needed]
While that may not sound like much, affiliate marketing can be surprisingly profitable for websites that have large, committed user bases that consistently return. After all, in affiliate marketing, every person you send to a company’s website is another chance to earn a commission. So it’s in your best interest to attract as many visitors to your site as possible so you can turn the biggest profit possible.
Affiliate marketing is commonly confused with referral marketing, as both forms of marketing use third parties to drive sales to the retailer. The two forms of marketing are differentiated, however, in how they drive sales, where affiliate marketing relies purely on financial motivations, while referral marketing relies more on trust and personal relationships.[citation needed]
I would personally agree with linkshare.com as a great affiliate marketing platform to join as a publisher. Here’s why. Back in 2005 when I knew nothing about affiliate marketing and was using blogger.com as a free blogging platform without any experience whatsoever and joining Walmart.com as my first official affiliate program, I was able to insert Walmart affiliate in its in my blogger blog and earn a $72 commission. I was onto affiliate marketing for life from there.
The digital marketer usually focuses on a different key performance indicator (KPI) for each channel so they can properly measure the company's performance across each one. A digital marketer who's in charge of SEO, for example, measures their website's "organic traffic" -- of that traffic coming from website visitors who found a page of the business's website via a Google search.
Keep in mind, affiliate tracking links are only valid for a certain period of time. For example, when you sign up to an affiliate program that advertises a “30-day cookie”, that means you’re only eligible for a commission if your visitor makes a purchase within 30 days. If they buy something on day 31, you don’t earn unless they clicked the link again at some point.

No matter how good your marketing skills are, you’ll make less money on a bad product than you will on a valuable one. Take the time to study the demand for a product before promoting it. Make sure to research the seller with care before teaming up. Your time is worth a lot, and you want to be sure you’re spending it on a product that is profitable and a seller you can believe in.


Sometimes, we need to know what doesn’t work in order to figure out what works. When you are starting out as a PPC affiliate marketer, you will need to experiment with different combinations of keywords and campaigns to find the best options that are cost-effective. To be perfectly honest, some affiliates spend hundreds of dollars on PPC ads before they are able to turn a profit.
I’ll admit it…I love Oprah Winfrey.  This woman has made an empire out of her daytime talk show.  What amazes me most is her book recommendations.  If an author gets on her show, it’s GUARANTEED he or she is going to sell a bunch of copies.  I nicknamed the presell email, “The Oprah Winfrey” because it provides great content while making a strong push for a particular product.
Open rate shows a percentage of total recipients that viewed your email. You can track it in HTML emails that include a transparent image (a tracking pixel). When it’s loaded, an email is tracked as open. This metric isn’t 100% accurate. As mentioned earlier, some email providers block images, and a user needs to enable them to see the visual elements.
An affiliate marketing business is an excellent source of passive income. There’s a bit of upfront work to figure out your ads or produce content to help convert the sale. However, once that’s done you can have ads running in the background while you make money. You don’t have to worry about creating a product. You don’t have to worry about shipping a product. All you need to do is make sure you’re sending highly targeted traffic to the merchant’s landing page to drive conversions.
!function(n,t){function r(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function i(e){return void 0===e}if(n){var o={},u=n.TraceKit,s=[].slice,a="?";o.noConflict=function(){return n.TraceKit=u,o},o.wrap=function(e){function n(){try{return e.apply(this,arguments)}catch(e){throw o.report(e),e}}return n},o.report=function(){function e(e){a(),h.push(e)}function t(e){for(var n=h.length-1;n>=0;--n)h[n]===e&&h.splice(n,1)}function i(e,n){var t=null;if(!n||o.collectWindowErrors){for(var i in h)if(r(h,i))try{h[i].apply(null,[e].concat(s.call(arguments,2)))}catch(e){t=e}if(t)throw t}}function u(e,n,t,r,u){var s=null;if(w)o.computeStackTrace.augmentStackTraceWithInitialElement(w,n,t,e),l();else if(u)s=o.computeStackTrace(u),i(s,!0);else{var a={url:n,line:t,column:r};a.func=o.computeStackTrace.guessFunctionName(a.url,a.line),a.context=o.computeStackTrace.gatherContext(a.url,a.line),s={mode:"onerror",message:e,stack:[a]},i(s,!0)}return!!f&&f.apply(this,arguments)}function a(){!0!==d&&(f=n.onerror,n.onerror=u,d=!0)}function l(){var e=w,n=p;p=null,w=null,m=null,i.apply(null,[e,!1].concat(n))}function c(e){if(w){if(m===e)return;l()}var t=o.computeStackTrace(e);throw w=t,m=e,p=s.call(arguments,1),n.setTimeout(function(){m===e&&l()},t.incomplete?2e3:0),e}var f,d,h=[],p=null,m=null,w=null;return c.subscribe=e,c.unsubscribe=t,c}(),o.computeStackTrace=function(){function e(e){if(!o.remoteFetching)return"";try{var t=function(){try{return new n.XMLHttpRequest}catch(e){return new n.ActiveXObject("Microsoft.XMLHTTP")}},r=t();return r.open("GET",e,!1),r.send(""),r.responseText}catch(e){return""}}function t(t){if("string"!=typeof t)return[];if(!r(j,t)){var i="",o="";try{o=n.document.domain}catch(e){}var u=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);u&&u[2]===o&&(i=e(t)),j[t]=i?i.split("\n"):[]}return j[t]}function u(e,n){var r,o=/function ([^(]*)\(([^)]*)\)/,u=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,s="",l=10,c=t(e);if(!c.length)return a;for(var f=0;f0?u:null}function l(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function c(e){return l(e).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function f(e,n){for(var r,i,o=0,u=n.length;or&&(i=u.exec(o[r]))?i.index:null}function h(e){if(!i(n&&n.document)){for(var t,r,o,u,s=[n.location.href],a=n.document.getElementsByTagName("script"),d=""+e,h=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,p=/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,m=0;m]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=n.split("\n"),a=[],l=0;l=0&&(g.line=v+x.substring(0,j).split("\n").length)}}}else if(o=d.exec(i[y])){var _=n.location.href.replace(/#.*$/,""),T=new RegExp(c(i[y+1])),E=f(T,[_]);g={url:_,func:"",args:[],line:E?E.line:o[1],column:null}}if(g){g.func||(g.func=u(g.url,g.line));var k=s(g.url,g.line),A=k?k[Math.floor(k.length/2)]:null;k&&A.replace(/^\s*/,"")===i[y+1].replace(/^\s*/,"")?g.context=k:g.context=[i[y+1]],h.push(g)}}return h.length?{mode:"multiline",name:e.name,message:i[0],stack:h}:null}function y(e,n,t,r){var i={url:n,line:t};if(i.url&&i.line){e.incomplete=!1,i.func||(i.func=u(i.url,i.line)),i.context||(i.context=s(i.url,i.line));var o=/ '([^']+)' /.exec(r);if(o&&(i.column=d(o[1],i.url,i.line)),e.stack.length>0&&e.stack[0].url===i.url){if(e.stack[0].line===i.line)return!1;if(!e.stack[0].line&&e.stack[0].func===i.func)return e.stack[0].line=i.line,e.stack[0].context=i.context,!1}return e.stack.unshift(i),e.partial=!0,!0}return e.incomplete=!0,!1}function g(e,n){for(var t,r,i,s=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],c={},f=!1,p=g.caller;p&&!f;p=p.caller)if(p!==v&&p!==o.report){if(r={url:null,func:a,args:[],line:null,column:null},p.name?r.func=p.name:(t=s.exec(p.toString()))&&(r.func=t[1]),"undefined"==typeof r.func)try{r.func=t.input.substring(0,t.input.indexOf("{"))}catch(e){}if(i=h(p)){r.url=i.url,r.line=i.line,r.func===a&&(r.func=u(r.url,r.line));var m=/ '([^']+)' /.exec(e.message||e.description);m&&(r.column=d(m[1],i.url,i.line))}c[""+p]?f=!0:c[""+p]=!0,l.push(r)}n&&l.splice(0,n);var w={mode:"callers",name:e.name,message:e.message,stack:l};return y(w,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),w}function v(e,n){var t=null;n=null==n?0:+n;try{if(t=m(e))return t}catch(e){if(x)throw e}try{if(t=p(e))return t}catch(e){if(x)throw e}try{if(t=w(e))return t}catch(e){if(x)throw e}try{if(t=g(e,n+1))return t}catch(e){if(x)throw e}return{mode:"failed"}}function b(e){e=1+(null==e?0:+e);try{throw new Error}catch(n){return v(n,e+1)}}var x=!1,j={};return v.augmentStackTraceWithInitialElement=y,v.guessFunctionName=u,v.gatherContext=s,v.ofCaller=b,v.getSource=t,v}(),o.extendToAsynchronousCallbacks=function(){var e=function(e){var t=n[e];n[e]=function(){var e=s.call(arguments),n=e[0];return"function"==typeof n&&(e[0]=o.wrap(n)),t.apply?t.apply(this,e):t(e[0],e[1])}};e("setTimeout"),e("setInterval")},o.remoteFetching||(o.remoteFetching=!0),o.collectWindowErrors||(o.collectWindowErrors=!0),(!o.linesOfContext||o.linesOfContext<1)&&(o.linesOfContext=11),void 0!==e&&e.exports&&n.module!==e?e.exports=o:"function"==typeof define&&define.amd?define("TraceKit",[],o):n.TraceKit=o}}("undefined"!=typeof window?window:global)},"./webpack-loaders/expose-loader/index.js?require!./shared/require-global.js":function(e,n,t){(function(n){e.exports=n.require=t("./shared/require-global.js")}).call(n,t("../../../lib/node_modules/webpack/buildin/global.js"))}});
×