The phrase, "Affiliates are an extended sales force for your business", which is often used to explain affiliate marketing, is not completely accurate. The primary difference between the two is that affiliate marketers provide little if any influence on a possible prospect in the conversion process once that prospect is directed to the advertiser's website. The sales team of the advertiser, however, does have the control and influence up to the point where the prospect either a) signs the contract, or b) completes the purchase.


Affiliate marketing currently lacks industry standards for training and certification. There are some training courses and seminars that result in certifications; however, the acceptance of such certifications is mostly due to the reputation of the individual or company issuing the certification. Affiliate marketing is not commonly taught in universities, and only a few college instructors work with Internet marketers to introduce the subject to students majoring in marketing.[41]
Being open and upfront about earning affiliate commission is another way not to appear pushy or as if you’re just trying to make a sale. This very useful and informative post contained a number of affiliate links and were I to want to buy one of those products or services mentioned, I would actively seek out this post and buy it through Sean as a way of saying thank you for such top information.
A content marketer, for example, can create a series of blog posts that serve to generate leads from a new ebook the business recently created. The company's social media marketer might then help promote these blog posts through paid and organic posts on the business's social media accounts. Perhaps the email marketer creates an email campaign to send those who download the ebook more information on the company. We'll talk more about these specific digital marketers in a minute.
Affiliates work to introduce their visitors to the merchant’s brand. They might write a post about a new product or promotion on the merchant’s site, feature banner ads on their site that drive people to the merchant’s site, or offer visitors a special coupon code. If people come from that affiliate’s site and make a purchase, that affiliate gets paid.
Dropshipping definitely seems to be more involved as far as getting all the pieces of the puzzle working for you and advertising and managing shipping, etc. If you are not a good writer or like writing, dropshipping may be more your cup of tea. Affiliate marketing is a great option but you must be willing to do a lot of writing. If you can handle the writing, then affiliate marketing is a much better option. I chose to get started in affiliate marketing and have learned a ton since!
Whether you are an affiliate marketer, or do affiliate email marketing as a side-business to complement your income and your current services, it is in your best interest to find the highest-converting programs to promote. Essentially, market research requires your investing time, energy and effort in discovering what is a win-win solution both for your client and your reputation, as well as your income.
The problem with affiliate marketing, like many other home business options, are the so-called gurus and get-rich-quick programs that suggest affiliate marketing can be done fast and with little effort. Odds are you've read claims of affiliate marketing programs that say you can make hundreds of thousands of dollars a month doing almost nothing ("Three clicks to rich!"). Or, they suggest you can set up your affiliate site, and then forget it, except to check your bank deposits.
The kind of content you create depends on your audience's needs at different stages in the buyer's journey. You should start by creating buyer personas (use these free templates, or try makemypersona.com) to identify what your audience's goals and challenges are in relation to your business. On a basic level, your online content should aim to help them meet these goals, and overcome their challenges.
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.
Hi, I would recommend you to do Affiliate Marketing. I have tried Aliexpress as well but the big disadvantage with that program are the long shipping times, in general 20-40 days and customers want the product now. You will have lot of complaints about the delivery. Some people look down on Affiliate Marketing because they think you make only a few bucks per product. But if you are smart you only promote affiliate stuff with high payouts. I am involved in a program that pays up to $5000 per single sale. PM me if interested. Because you have to promote your products anyway, whether you advertise for a product where you make $1 from or a product you make $5000 from.

Affiliate marketing gives you access to regular new offers, and you tend to spend more time promoting specific products. This enables you to focus more on a particular item and see your progress much more easily via tracking tools. You can also join an affiliate network and get help, advice and management for your campaigns, and it’s completely free.
Pay Per Sale or PPS – where companies pay a percentage of all sales that are qualified. These could be a percentage which was agreed by the company and it’s affiliate. Among the most common PPS program is the Amazon Associates where a publisher can earn up to 15% depending on the products that were sold. Here’s a list of places where you can find products to promote.
Affiliate marketing gives you access to regular new offers, and you tend to spend more time promoting specific products. This enables you to focus more on a particular item and see your progress much more easily via tracking tools. You can also join an affiliate network and get help, advice and management for your campaigns, and it’s completely free.
Although there is complete control over the types of products to promote or market on the website, shipping cannot be controlled because product sellers handle that. Sellers ship the ordered products at their own convenience (such as waiting to collect multiple orders from a single location and sending them all in one go). Because of similar reasons, customers are often seen complaining about late receipt of their orders.

Affiliate marketing is a marketing practice in which a business rewards one or more affiliates for each visitor or customer brought about by the affiliate’s own marketing efforts. Examples include rewards sites, where users are rewarded with cash or gifts, for the completion of an offer, and the referral of others to the site. The industry has four core players: the merchant (also known as ‘retailer’ or ‘brand’), the network, the publisher (also known as ‘the affiliate’), and the customer. The market has grown in complexity to warrant a secondary tier of players, including affiliate management agencies, super-affiliates and specialised third parties vendors.
It may seem like the same amount of work but it really isn't. You are not going to be able to advertise the same way as an affiliate. In fact, many platforms will not let you advertise affiliate products. That means you will have to put in much more work getting your pages to rank organically and doing social marketing, although there is less work dealing with customers. Also, the payoff will always be higher for dropshipping versus affiliate.
Consider joining up with an affiliated marketing company. One easy way to enter the field of affiliate marketing is to join a company that specializes in online marketing. Though you'll ultimately work independently, companies like MoreNiche allow aspiring affiliate marketers to join for free to have a platform for advertising products/services.[5]
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.”
VigLink is an intermediary platform, so it can serve as a backdoor for affiliates who have previously been banned/suspended from working with other affiliate programs like Amazon. And while you can choose specific merchants or offers, VigLink can be set up to work automatically by scanning your published content and dynamically generating affiliate links, making it a great choice for established content producers who are looking for a simpler way to generate revenue via an affiliate program.
There are a lot of offers available for both affiliates and dropshippers. Generally speaking, dropshippers can choose any items they want to sell from Alibaba and then sell them on their platform as if they were their own. This way you can create a store with a lot of different options for customers. However, with dropshipping, you are largely on your own and won’t have the support of a larger network.

The downside for relying on SEO as the main source of traffic for your affiliate site is that you are only making 10% or so per sale, so you can’t afford to invest in paid traffic most of the time. That’s why affiliate marketers rely so heavily on free traffic from search engines or influencer marketing (in which you would try to be an influencer yourself).
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.
Most affiliates can create their own landing pages ( HTML, Javascript, CSS skills ), code their own scripts ( server-side languages like PHP and database like MySQL ), negotiate contracts ( for media buys and I/O’s ), plan entire marketing budgets, are comfortable hiring and managing VA’s and outsourced contractors, are masters at optimizing sales funnels, and routinely create additional revenue streams ( it’s all about ROI baby ).
Digital marketing is defined by the use of numerous digital tactics and channels to connect with customers where they spend much of their time: online. From the website itself to a business's online branding assets -- digital advertising, email marketing, online brochures, and beyond -- there's a spectrum of tactics that fall under the umbrella of "digital marketing."
“You need to build an internal calculator. You need to know exactly how your offers convert, so you can make a decision on how much to pay out. A lot of times, vendors will go negative during the first sale, but know their backend so well, that they can recover a lot of that revenue post-transaction, or on a continuity basis, based on your stick rate. Knowing and understanding the lifetime value of your customer will be huge in determining the payout,” DeHerrera said.

In comparison with Dropshipping, affiliate marketing is a lot easier to start and manage. In a dropshipping website, you will have to actively monitor the store and order products through suppliers. All this requires time. But in an affiliate website, you don’t have to actually do any of this because you get a commission by letting people buy through your link. That’s it.
In some cases, there is actually overlap between these two marketing niches. This is because it is possible that you might be able to recruit some prominent influencers to sign up for your affiliate program. Then you can enjoy some of the benefits of influencer marketing while only paying for successes. See How influencers are changing the affiliate marketing game for more details.

Spears recommended that you get things in writing when making a deal with an affiliate – “things like how many clicks or leads they will send, and on what date(s). If their mailing will include leads and buyers, or just leads. What you will do in return for those clicks and leads (match them, increase commission, reciprocal mailing date on your side, etc.).”


I’ve just got to hear about affiliate marketing and am really a newbie to this matter. The post above was so great and helpful for a person like me. I also took a look at locationrebel which seemed very exciting to me. I wonder if those courses and blueprints are still applicable because as far as I’ve seen, the reviews and testimonials all refer to the year 2013. It was the only reason that hold me back from joining the Locationrebel. I would be very thankful if you help me with this matter.
As you can see, there are advantages and disadvantages to both Affiliate Marketing and Dropshipping and there is no right or wrong answer when it comes to deciding what to choose. It really comes down to your personal preference and what you want to achieve. With Dropshipping, the product is key and there are a lot of logistical headaches that I outlined. Affiliate Marketing, can run passively and can generate income for years to come. I may be a little biased.
Connecting the dots between marketing and sales is hugely important -- according to Aberdeen Group, companies with strong sales and marketing alignment achieve a 20% annual growth rate, compared to a 4% decline in revenue for companies with poor alignment. If you can improve your customer's' journey through the buying cycle by using digital technologies, then it's likely to reflect positively on your business's bottom line.
Affiliate Marketing is where you promote someone else’s product and earn a compensation when you refer sales. So you, basically, find products that appeal to your audience, promote these products (or services) to others, and earn either a percentage or a flat amount on each sale that you generate for the merchants that you promote. You don’t get to dictate the price of the product or the commission earned. For example, if you decide to run a fitness site, you could promote fitness related products – gym gear and supplements. You join “XYZ Supplements” affiliate program. You write a review on your site about the product and include your affiliate links. Someone clicks on the link, gets redirected to the merchant’s website, buys the product, conversions are tracked, products are shipped to the customer, and you get paid! So you don’t have any of the headaches of selling products – your only job is to write a post and market to your audience.
Again, our potential is limitless because we have ZERO customer contact. Everything is automated. We literally make money when we sleep. I don’t care if you only dropship, you still get to deal with customers. Yes, our customers are one-and-done (you can have an affiliate business model where you do get repeats, it just is not the way we are set up). However, there are millions of potential customers, with new ones coming each day, so as long as we maintain good search engine position (again, easier said than done), we are golden.
Google, if you a relying on search traffic, can change how they send traffic, rank your page, and how you show up on the SERPS at the drop of a hat. Really, you don’t have control on boosting your traffic when relying on organic search results because it’s not paid. If you are relying on other people’s traffic or other people’s affiliate offers, it can run dry very quickly. It’s not up to you with affiliate marketing. With drop shipping (or selling your own products or private labeling), you have that control over traffic sources.
Affiliate Marketing is a type of performance marketing strategy that is based on sales and leads. You have affiliates who link to your page. If a visitor buys your product through that particular link, you give the affiliate a certain percentage of that sale. The biggest advantage of Affiliate Marketing is that it has minimum risk as you only pay for the work. You can also measure which links work and which don’t, which can help you to determine your future strategy with respect to your affiliate marketers. In simple words, the concept of affiliate marketing is to promote other people’s products through an affiliate network and earn commission if people actually buy the product. The entire concept is based on revenue sharing.
Websites consisting mostly of affiliate links have previously held a negative reputation for underdelivering quality content. In 2005 there were active changes made by Google, where certain websites were labeled as "thin affiliates".[34] Such websites were either removed from Google's index or were relocated within the results page (i.e., moved from the top-most results to a lower position). To avoid this categorization, affiliate marketer webmasters must create quality content on their websites that distinguishes their work from the work of spammers or banner farms, which only contain links leading to merchant sites.
In the era of internet, Digital Marketing plays an important role. Digital Marketing is the marketing of products or services using digital technologies, mainly on the internet. As digital platforms are rapidly incorporated into marketing plans and everyday life and as people use digital devices instead of visiting physical shops, digital marketing campaigns are becoming more efficient.
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!
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.
With the ability to rank organically in search engine queries, bloggers excel at increasing a seller’s conversions. The blogger samples the product or service and then writes a comprehensive review that promotes the brand in a compelling way, driving traffic back to the seller’s site. The blogger is awarded for his or her influence spreading the word about the value of the product, helping to improve the seller’s sales.
Most affiliates can create their own landing pages ( HTML, Javascript, CSS skills ), code their own scripts ( server-side languages like PHP and database like MySQL ), negotiate contracts ( for media buys and I/O’s ), plan entire marketing budgets, are comfortable hiring and managing VA’s and outsourced contractors, are masters at optimizing sales funnels, and routinely create additional revenue streams ( it’s all about ROI baby ).
If you’re working to promote a brand, a service business or just about any other type of business, both types of marketing will be useful for you to know about. There are quite a few similarities and areas of overlap between these types of marketing, but there are also distinct differences. Let’s take a look at the most important similarities and differences between influencer marketing and affiliate marketing.
Never send an email without making sure it’s working properly. What looks good in your inbox can look broken or mangled in someone else’s. Use tools that can help you with testing your SPAM score, deliverability and the rendering of your email. There are plenty of free or freemium solutions that provide screenshots of your email in dozens of different email platforms.
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.

You can make really good commissions from the eBay partner but it depends on the products which you decide to promote. Interestingly the commission levels vary according to where you are in the world not just on the products you decide to promote. One of the great reasons to sign up is that you can earn DOUBLE commissions in your first three months. They offer free to use link generators, ad creatives and widgets for you to promote different eBay items. eBay has over 162 Million active buyers which means there is a great potential to convert your traffic.
There are two things Rahis Saifi is very passionate about, business and technology. In today’s competitive business environment, you must understand how both business and technology work together. From his experience, many businesses fail because they do not understand how their business should implement the technology. His goal is to provide stories that help make entrepreneurs better and a successful business owner in this world of technology.
Another thing that I didn’t mention is that if someone doesn’t have to sign up to your email list and they click on your affiliate link you will earn a commission if they make a purchase but you will not have access to their name and email information. They will basically be one time buyers for you because you didn’t capture their name and email address first.
She does this through: “Second tier commission contests. If I am slowing down in affiliate traffic, I run a contest with my affiliate partners to see who can introduce me to the newest, highest quality affiliates, and pay the winner good money (no less than $2,000) to help me do that. Then I second tier those introductions to them for life, so that they keep making money from their relationship with me,” she said.
When dropshipping products, you can easily retarget your audience to help convert the sale. With affiliate marketing, since you’re sending the traffic to another website, you have no control over retargeting. With dropshipping, the traffic comes to your own website. Also, you have control over the optimization of your landing pages, product copy, website design and more. The checkout will also match your website’s branding. As you have more control, you better your odds of attracting a customer and converting them.
3: How greedy are you? Affiliates depend on the sale price of the item and your percentage cut. On Amazon it starts out at 4%. If you’re selling a $10 item, 4% is not a lot; only 40 cents. Meanwhile, selling a $5 item for $10 on your dropship storefront will make you $5 profit on every item sold. You have more work and more infrastructure to build, but you end up with significantly higher profits for similar amounts of sales.
LIVESTRONG is a popular health and wellness site. They provide readers with content to help them maintain a healthy lifestyle. They don’t sell products on their site, but sites like these are able to promote products, like yours, on their site and generate an income based on the purchases their audience makes on your site. Choose affiliates whose content closely matches your product, so that site visitors are already primed and interested to take the next step and click through.

With the ability to rank organically in search engine queries, bloggers excel at increasing a seller’s conversions. The blogger samples the product or service and then writes a comprehensive review that promotes the brand in a compelling way, driving traffic back to the seller’s site. The blogger is awarded for his or her influence spreading the word about the value of the product, helping to improve the seller’s sales.

People aren’t just watching cat videos and posting selfies on social media these days. Many rely on social networks to discover, research, and educate themselves about a brand before engaging with that organization. For marketers, it’s not enough to just post on your Facebook and Twitter accounts. You must also weave social elements into every aspect of your marketing and create more peer-to-peer sharing opportunities. The more your audience wants to engage with your content, the more likely it is that they will want to share it. This ultimately leads to them becoming a customer. And as an added bonus, they will hopefully influence their friends to become customers, too.

888.com is a premium gaming destination and a well established name in the casino and poker circuit. Its site offers numerous sub-brands including 888sport, 888ladies, 888bingo, 888casino and 888poker, as well as ReefClub Casino. The 888 family of companies attract millions of players, and the company provides affiliates with frequent promotions to keep players interested.
In comparison with Dropshipping, affiliate marketing is a lot easier to start and manage. In a dropshipping website, you will have to actively monitor the store and order products through suppliers. All this requires time. But in an affiliate website, you don’t have to actually do any of this because you get a commission by letting people buy through your link. That’s it.
Using a variety of bonuses and incentives makes these products more appealing to your subscribers. For example, if you’re recommending a product such as a hosting service, you could create an e-book that helps purchasers learn and use the service. People love to feel like they’re getting something for free. So, dress up your affiliate products with irresistible offers that make people jump!
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.

Do you have zero interest in an expensive mountain bike the company you are an affiliate of sells? Well, you probably don’t want to feature it on your blog, as it is extremely difficult to persuade readers (or anyone for that matter) that they should buy something you wouldn’t be caught spending a single penny on. When you are passionate about a product or–at the very least–interested in learning more about it, this will come through to your readers, engage them and better coax them to buy


Finally, we come to the last email.  I call a content email, “The Pro IMer” because it’s what every Internet marketer should do – Tell subscribers about great content that’s on your site.  If you’re only sending emails that make money, you will lose in the end.  Sometimes the best way to generate a profit is to send an email that only benefits the subscriber.

That being said, LinkConnector’s platform looks and feels outdated and is rather clumsily designed. Their dashboard also makes it difficult to find “hot” products or compare conversion rates, leaving affiliates somewhat in the dark about which products to choose. Ironically, despite their low-quality website, they offer some of the best customer service in the affiliate space.
In February 2000, Amazon announced that it had been granted a patent[18] on components of an affiliate program. The patent application was submitted in June 1997, which predates most affiliate programs, but not PC Flowers & Gifts.com (October 1994), AutoWeb.com (October 1995), Kbkids.com/BrainPlay.com (January 1996), EPage (April 1996), and several others.[13]
The role of a social media manager is easy to infer from the title, but which social networks they manage for the company depends on the industry. Above all, social media managers establish a posting schedule for the company's written and visual content. This employee might also work with the content marketing specialist to develop a strategy for which content to post on which social network.

“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.
Leadpages also offers an option for affiliates to send referrals to attend a Leadpages webinar with standard commissions paid for any sale generated from the webinar. However, Leadpages requires you to get at least 150 people to sign up (but not necessarily attend) each webinar. Leadpages also offers affiliates the ability to view blog posts and videos on Leadpages’s site, again with the standard commission paid for any sales.

Now imagine you had that brochure on your website instead. You can measure exactly how many people viewed the page where it's hosted, and you can collect the contact details of those who download it by using forms. Not only can you measure how many people are engaging with your content, but you're also generating qualified leads when people download it.
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 doesn’t allow you to set your own prices and so you rely solely on commission. Dropshipping, on the other hand, enables you to set the price so that you can make as much profit off of an item as you want. However, it’s quite easy to get this wrong, and if you price your products too high or too low, then you will put people off.

Speaking about the money, we need to mention that affiliate and monetized sites won’t give you as much as dropshipping store can. The profit per visitor on these sites is insignificant, so you will need to attract tons of customers to your website in order to make more or less solid money. With dropshipping, profit per sale fully depends on the profit margin you set – therefore, you will get a nice income much quicker. A great opportunity to start making money right away!
By quite a large margin Amazon has the largest affiliate marketing program out there, with products from more than 1.5 million sellers. Amazon has the most easy-to-use technology of all the affiliate programs I will be reviewing today. Beginners to affiliate marketing with even the most limited technical expertise will have no problems in getting up and running with the Amazon associates program, while more experienced marketers can create custom tools and websites with the APIs and advanced implementations available to them. The great thing about Amazon is that anything from kids toys to laptops can generate sales if they are purchased through any Amazon affiliate link.

All CPA marketers put their eggs in one basket. I’ve seen plenty of the greats go from zero to hero and vice versa several time in their careers. The smart ones learn to build their own business in the process and pimp their products to CPA newbies (where the real money is). So if your only focus is to make the most money you can I would advise you not to spend it all because that business model won’t last.


This truly intuitive dashboard doesn’t just tell you about open rates, click rates and other basics. GetResponse has created a customizable experience where you decide what you need to see. You can compare the effectiveness of one email against another, watch a map that shows your subscribers receiving and opening your emails in real-time or check for weak points in your autoresponders.
Creating a unique tracking ID for an Amazon link is easy. Simply log in to your Amazon affiliate dashboard, click “Account Settings” at the very top on the right, then click “Manage Tracking IDs”. From there you can make a new tracking ID so you can track which web page/campaign sold what.  You can learn more about using Amazon’s Tracking IDs here.
Adam Enfroy is the Affiliate Partnerships Manager at BigCommerce. With 10+ years of experience in digital marketing, ecommerce, selling online courses, and web development, he is passionate about leveraging the right strategic partnerships and software to scale digital growth. Adam lives in Austin, TX and writes about affiliate marketing and building your online influence on his personal blog.
!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"))}});
×