Promotion Equals Endorsement – If you are promoting a product as an affiliate, you are personally endorsing that product as something your subscribers should use. If you wouldn’t personally use a product or service, don’t promote it to your mailing list. Your subscribers will lose trust in you if you promote low-quality products and are only concerned with the affiliate commissions that you generate.

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.

Earning income via Target affiliates, however, requires a bit of work. Cookies expire in just seven days, and commissions can be as low as just one percent, so you’ll need to be operating a high-traffic website in order to make serious cash with this program. But with Target’s much-beloved brand reputation and vast catalog, relevant product links can be a big earner for established influencers.


Now this one is the biggest for me, but drop shipping will open up new traffic sources and ways to find customers. I have ran plenty of affiliate sites in the past ten years, and I still have some affiliate sites which have generated close to seven figures in commissions alone. Affiliate marketing works, but it’s totally different from drop shipping for how you get people to your site.
Fortunately for beginners just getting started with affiliate marketing, hard sales skills – though great to have – are not a prerequisite for affiliate marketing success. Provided that you choose a profitable niche market, set up your WordPress platform properly, and take the right steps to grow your audience, you can generate affiliate income as a relationship marketer. As mentioned earlier, if you do it right promoting the right products that can help your audience is a way to actually add value.

Finally, your email marketing campaign can only succeed if you have a relevant list of quality consumers to target with your messages. Building a quality email list helps your marketing campaign succeed because it targets consumers already interested in your product. Many people end up on email lists because they sign up voluntarily. With a list of relevant consumers, you are putting ads in front of the eyeballs of consumers with an expressed interest in the products and services you promote.


Look to see what others say about them. I was looking at one dropshipper which had what I thought was some good products. But checking them out it turned out the products were crap and their customer service was appalling. Once they got the customers money they did not give a damn. And if you're dropshipping their product it is you who has to deal with them and will get it in the neck from your customers. And did I mention they were charging £125 per year for you to dropship their goods.
Hi Jamie! Thank you for the great information. I just learned about affiliate marketing last week. The source however, is an older couple who work for World Wide Dreams Builders (WWDB). So, basically Amway. After researching a bit. I have no interest in WWDB and. (It sounds like years of recruiting people with minimal payout) Though, I am highly intrigued by e-commerce and affiliate marketing. Before your post the company I recognized was Amazon. Can you please tell me if that will be the best 1st step. I am currently an unemployed student Veteran. So plan to fully emerge into this business regime and would greatly appreciate your advice on this!!!
PeerFly only has a limited number of products at the moment, but they have tremendous momentum and are growing by leaps and bounds. Their payout rates aren’t spectacular, but everything is upfront and transparent, and affiliate satisfaction is very high. PeerFly is perfect for authentic marketers who want to offer high-quality products to their visitors as opposed to “get rich quick” schemes and opaque offers.

You also need to contact suppliers and make deals with them. For some products, this is easy; the suppliers don’t want to deal with marketing or sales themselves, so they set up dropshipping programs and allow almost anyone to enroll. Others are harder to contact and require a phone call to be passed through to the right department. These can be more lucrative – the barrier to entry keeps out the low-effort dropshippers – but it takes effort to set up.
To those on the outside, affiliate marketing can seem like a black box. It’s inner workings are mysterious to most marketers and in many companies it’s not treated with the same seriousness as other channels. Some marketers, only familiar with the bad reputation acquired by some industry players in the 2000s, deride it as a source of spam and little more.

As a marketer, you have to always engage and interact with your audience. Relationships are important in affiliate marketing, especially if you work as an individual. People trust those they like, and if you faithfully answer questions about the merchant or product, they will most likely move further into the sales funnel, increasing your conversions.
Most entrepreneurs fall into two key categories: dropshipping vs affiliate marketing. Dropshipping is when the manufacturer carries the inventory and ships it to the customer on your behalf. In dropshipping, you set your own product prices and are responsible for marketing. Similarly, in affiliate marketing, the merchant also carries inventory and ships the product. However, while you’re still responsible for marketing, you don’t get to set the product price and only receive a commission. In this article, we’ll explain the pros and cons of dropshipping and affiliate marketing to decide which is more profitable.
Fortunately for beginners just getting started with affiliate marketing, hard sales skills – though great to have – are not a prerequisite for affiliate marketing success. Provided that you choose a profitable niche market, set up your WordPress platform properly, and take the right steps to grow your audience, you can generate affiliate income as a relationship marketer. As mentioned earlier, if you do it right promoting the right products that can help your audience is a way to actually add value.
5. Long cookie life. Buyers need time before reaching a purchase decision. We, at Moosend, are aware of this, which is why we grant a longer cookie life. You see, the decision-making process of a lead depends on several factors, such as the stage they are at in terms of acknowledging the need, other psychological factors, seller reputation, and influencer reputation. So, it’s only fair that you, as an influencer, are given enough time while the buyer goes through the purchase process. Enjoy a 60-day cookie period and achieve the maximum commissions possible, with our email marketing affiliate program.

A relative newcomer to the affiliate space, MaxBounty was founded in 2004 in Ottawa, Canada. MaxBounty claims to be the only affiliate network built specifically for affiliates. MaxBounty is exclusively a CPA (Cost Per Action/Acquisition) company that doesn’t deal with ad banners or the like, just customer links that the publisher (blogger) chooses where to place on their website.


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.
It’s understandable that affiliate marketers may have a number of different lists of people that they need to send different campaigns to. At EmailOctopus, all the lists and campaigns you create are treated separately, allowing you to do just that. We also allow you to send from unlimited domains, perfect for if you run multiple marketing websites.
Affiliate networks also make it very easy to find products and services to promote. They will list advertisers by category and show which advertisers other publishers are currently having the most success with. Commission Junction, a large affiliate advertising network, currently has nearly 3,000 different advertisers listed. You will have the most success by promoting products that are closely related to the content that you write about. If you had a website about investing, you would primarily want to promote investing related services like stock brokerages and stock research tools. You wouldn’t get good results by promoting unrelated services like web hosting and domain name registration services.

I had a chance of looking at how much some CPA marketers are earning. My jaws hit the floor. How can anyone make 32k in a day? It is not some Photoshop screenshot but the CPA company interface allows earning shouts which is drawn live from the system and displayed on a live chat. That’s where I saw those big figures. Remember I said 32k in a day not in a month. Now that is insane. This gives you some idea how: http://x.co/9RnqK

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.
Financial services provider, Wells Fargo, launched their affiliate marketing program with the goal of expanding credit card acquisition beyond current customers of the bank. Rakuten Marketing designed an affiliate prospecting program that focused on building strong relationships with publishers and educating them on the products offered. This approach was aligned with creating compelling consumer-facing offers that would appeal to a publisher’s audience.
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.
“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.
An affiliate marketing program is a lot of work, and in most situations there's a lot of competition so you're not going to be bringing in money immediately. Business owners and entrepreneurs suppose that all you need do is setup a site and choose an affiliate to associate with and then just let it run its course. But according to Three Ladders Marketing, only 0.6% of affiliate marketers surveyed have been in the game since 2013. That means that affiliate marketing takes time and effort to build and make money.
I really do subscribe to always delivering value every time your emails hit subscribers inbox. If they know they will get value before they would be sold, your email will stand a greater chance at being read. And the tweaking of email subjects to increase open rate is so true, I tried it out once and saw the result. Will pay more attention to it more now that I know better. Thanks again.
Some websites allow you to engage in pay-per-click affiliate marketing without running your own website or blog. Direct links through outside merchant websites allow you to create and make money off of ads without having to post them to your own website. For instance, you might make an ad for a dating website and advertise on Facebook; when someone clicks on your ad, they go straight to the dating site, instead of a website or landing page you have created.[6] Some affiliate networks that specialize in direct linking include Associate Programs, Affiliates Directory, E-commerce Guide, and Link Share.[7]
In the BigCommerce affiliate program, you receive a 200% bounty per referral and $1,500 per Enterprise referral, with no cap on commissions. Plus, the more referrals you drive through the program, the higher your commission tier will go. BigCommerce uses an industry leading 90-day cookie, so you will receive credit for up to three months for the referrals you generate. Also, there are no obligations or minimum commitments to join the program.
Although it has a dynamic and well-designed website, PeerFly has a limited range of offers at any given time (around 8,000). On the upside, it does offer good commission/payout rates, lots of FAQs and educational information, and regular contests and reward programs that can substantially increase your bottom line. Based on online customer reviews, Peerfly enjoys a very high reputation amongst participating affiliates.
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.”
Most entrepreneurs fall into two key categories: dropshipping vs affiliate marketing. Dropshipping is when the manufacturer carries the inventory and ships it to the customer on your behalf. In dropshipping, you set your own product prices and are responsible for marketing. Similarly, in affiliate marketing, the merchant also carries inventory and ships the product. However, while you’re still responsible for marketing, you don’t get to set the product price and only receive a commission. In this article, we’ll explain the pros and cons of dropshipping and affiliate marketing to decide which is more profitable.
Totally agree with your opinion on affiliate marketing. I’m in the same space myself and can tell you what it feels like to earn $1000 commissions while literally sitting on the sofa watching TV. It is absolutely mind-blowing. High-ticket commissions are what sets apart the affiliate marketers that scale their business up to six or even seven figures to the ones that only make a few thousand a month. I run a website based on digital marketing an entrepreneurship. You should check out our affiliate program – it is guaranteed to blow your mind. 🙂
As a business model, dropshipping allows anyone to sell products from suppliers on their own website. There is no need to carry any inventory at all. When someone purchases a product from the dropshipper’s website, they place an order with the supplier. The supplier then packages and ships the product to the customer. Dropshipping is a great business model for a first-time ecommerce entrepreneur or people who want to test categories of products on their audience. Ecommerce entrepreneurs have even been known to run their ecommerce stores while studying, or working full-time.
Some of the products for sale through affiliate programs have multiple products in the sales funnel - known as upsells and downsells (sometimes side-sells as well). These are products that are related to the primary product and can help to make the use of the primary product faster, easier or more efficiently. A certain percentage of people who buy the primary product also go on to buy the extras which could account for the higher amount.
Fortunately for beginners just getting started with affiliate marketing, hard sales skills – though great to have – are not a prerequisite for affiliate marketing success. Provided that you choose a profitable niche market, set up your WordPress platform properly, and take the right steps to grow your audience, you can generate affiliate income as a relationship marketer. As mentioned earlier, if you do it right promoting the right products that can help your audience is a way to actually add value.
StudioPress is a WordPress hosting service and framework that is designed to make setting up and running a WordPress site much simpler and easier. StudioPress comes with its own unique themes and SEO tools, collectively known as the “Genesis framework.”. Their affiliate program is solely for referrals to pay for a StudioPress framework account or buying a StudioPress theme. Previously, the affiliate program also included web hosting, but this is now managed separately by StudioPress’s owner, WPEngine.
“For an affiliate partnership to be successful, the offer needs to be tested and optimized to endure a strong customer value across multiple networks. If an offer shows inconsistent results, we continue to test and optimize internally. As a result, once an offer is opened to a new partner, it is sure to return value to the affiliate and they can put their resources in helping gradually scale the offer,” Taherivand said.
Think about this. If you are the person that processes that order, again you are making more money the first time you process it. Yes, there is a little bit more work, but you also own that customer data. So if you want to sell a box of 10 pens as an upsell or if you want to sell them new notebooks or if you want to have a huge Black Friday sale, you are the one that’s marketing to that same person.
4: What resources do you have? If you’re experienced with building blogs, doing SEO work, or running a store, you have a better position from which to build a dropship store. Dropship stores tend to work better when you have more experience, since you’re building something new from the ground up. On the other hand, affiliate marketing tends to benefit more from playing off an existing brand or blog with an existing audience.

A relative newcomer to the affiliate space, MaxBounty was founded in 2004 in Ottawa, Canada. MaxBounty claims to be the only affiliate network built specifically for affiliates. MaxBounty is exclusively a CPA (Cost Per Action/Acquisition) company that doesn’t deal with ad banners or the like, just customer links that the publisher (blogger) chooses where to place on their website.
One of the major differences between affiliate marketing and dropshipping is that affiliate marketing doesn’t require you to take charge of customer support, whereas dropshipping does. Because dropshipping makes you the store owner, then you are responsible for your brand. Affiliates on the other hand simply link people to other people’s stores, meaning that they don’t take any of the responsibility when things go wrong.
The ninja message is best used with an email list that trusts your recommendations.  When people have come to “know” you, it doesn’t require a lot of work to promote a product – Especially one with a great sales page.  On the other hand, I advise you to use the ninja on rare occasions.  This is the most spammy email in your entire arsenal.  Use it sparingly – No more than once a month.
I really do subscribe to always delivering value every time your emails hit subscribers inbox. If they know they will get value before they would be sold, your email will stand a greater chance at being read. And the tweaking of email subjects to increase open rate is so true, I tried it out once and saw the result. Will pay more attention to it more now that I know better. Thanks again.
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.
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.
2: What do you want to sell? Some niches, believe it or not, are not available on Amazon. This primarily concerns small hobbies and esoteric items that are made from single companies that have not put themselves out there on storefronts. Check to make sure there’s an affiliate program for what you want to sell before you start setting up a site built around it. Likewise, get in touch with suppliers before you start trying to sell products.

For DeHerrera, offering a three months lead time — even in other quarters — is something that helps him land the affiliates he wants. “You have to understand that they build out their campaigns and offers just like you do, and schedule things sometimes months in advance. We would host an offer calendar for our affiliates that would show promotions for up to three months out. This increased take rates, for the affiliates, were able to easily access our calendar, and therefore build out their campaign schedule on their own. The easier you make it for them, the more they will love you,” he said.

Affiliate marketing – using one website to drive traffic to another – is a form of online marketing, which is frequently overlooked by advertisers. While search engines, e-mail, and website syndication capture much of the attention of online retailers, affiliate marketing carries a much lower profile. Affiliates continue to play a significant role in e-retailers’ marketing strategies.


When doing a comparison between dropshipping vs affiliate marketing, the biggest disadvantage of affiliate marketing is you’re paid on commission. You might’ve just spent $100 in ads only to make $50 back in commission fees. The payout for affiliate commissions is generally a lot lower than dropshipping. Even if your commissions are several hundred dollars, odds are the cost of the product is higher. This means finding the right people will cost more as well. Also, you don’t have the opportunity to set the price. For example, if people are interested in the product but feel the cost is too high, you can’t lower it to meet the demand of your audience. In addition, since you can’t set the price of your earnings, you’ll likely make a lot less than if you were the merchant.
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.
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.
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.
Due to new European legislation regarding how websites store information about you, AWIN is updating its privacy policy. You can see the new version of our policy here. If you would like to see the information we capture on this website, please click here for further details. In order to accept cookies on this site please click the 'I ACCEPT' button
That’s a great tip Sean, thanks! I was thinking about what you said in your post about some companies not putting that they have affiliate links and you having to do some digging and there are couple of companies/authors who made products I love and keep using, but I’m not sure how to go ahead and ask about the affiliate link. I read the post you linked below about asking for guest blogging, which I thought was a must-read, and so, if you think of doing a follow-up on this one, would love to read some of your tips and do’s and don’t about this. Thanks again, Sean, you’re doing some very inspiring work here!
“I use Facebook, not only as an added communication device but also to help know what is going on in the life of my affiliate partners. On the communication side of things, if I noticed they are not responding to an email, but see they are on a beach vacation with their family, I will know not reach out to them until they are back and caught up on emails,” he said.
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."
For that reason, you're probably less likely to focus on ‘leads' in their traditional sense, and more likely to focus on building an accelerated buyer's journey, from the moment someone lands on your website, to the moment that they make a purchase. This will often mean your product features in your content higher up in the marketing funnel than it might for a B2B business, and you might need to use stronger calls-to-action (CTAs).
“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.
Affiliate marketing examples are everywhere online. Visit any niche site and chances are you’ll find some kind of affiliate marketing. You’ll notice that affiliate marketing looks a lot like display ads. With display advertising, you create ads that appear on other websites. When site visitors click on them, they’re taken to a landing page where they can learn more about your product and convert to become a paying customer.
If your audience is looking to launch an online business, migrate their ecommerce platform, or simply interested in ecommerce content, we encourage you to apply for the BigCommerce affiliate program. Our team will carefully review your application. Once approved, you will receive access to support, tracking, reporting, payments, and have your own unique affiliate link to track every referral you generate. BigCommerce is committed to the success of our affiliate partners.
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]

Our best performing landing page falls into category C of your poll (50-100K per year). Again, that is just one landing page of hundreds. While not all of our landing pages have this kind of earning potential, many do. And we are just scratching the surface regarding the potential of our sites – they have a lot more growth potential in regards to new landing pages. Again, the sky is the limit with affiliate marketing – not so much with an online store (in my humble opinion, and experience).
The seller, whether a solo entrepreneur or large enterprise, is a vendor, merchant, product creator, or retailer with a product to market. The product can be a physical object, like household goods, or a service, like makeup tutorials. Also known as the brand, the seller does not need to be actively involved in the marketing, but they may also be the advertiser and profit from the revenue sharing associated with affiliate marketing.
What many affiliate marketers do is find their niche in the market. This allows them to be focused on specific products or merchants, which lets them gain loyal followers and build a reputation that reflects expertise on a particular subject. After all, you as a consumer will most likely take the word of a person who has reviewed all kinds of vehicles as opposed to someone who reviews everything from sports cars to lemonade to fertilizer.
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.
There’s a good reason why ClickBank is still a strong contender, however it does tend to focus more on digital products which may be of questionable quality. Yes, the review process is more professional these days, but it’s still primarily focused on selling digital products, especially “how to make money” courses and the like. That being said, there are some genuinely high-quality products on offer, and few affiliate programs are bigger than ClickBank, especially in selling (primarily digital) books.

There are lots of ways you can optimize your digital marketing assets for mobile users, and when implementing any digital marketing strategy, it's hugely important to consider how the experience will translate on mobile devices. By ensuring this is always front-of-mind, you'll be creating digital experiences that work for your audience, and consequently achieve the results you're hoping for.


Why i say run both, you can earn for both and you even can bring some traffic from the affiliate marketing. Like you selling a main product, you can get some affiliate marketing that selling your product accessories. Or you selling the accessories and you put affiliate marketing which is selling the related product. You can earn both and in less risk.
Affiliate marketing has now invaded Hollywood? We know it invaded US politics in Washington as some politicians (current and retired) are silent affiliate marketers or in MLM. Maybe we can look forward to hearing in the next few years about more celebrities going from actors and actresses to home-based affiliate marketers. Wouldn’t that be something?
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.
Build relationships. Affiliate marketing takes a lot of work and patience before any real money is made. Affiliate marketing programs drive traffic to the affiliate marketer's website, but the marketer is responsible for building lasting professional relationships with the affiliate partners out of that web traffic. The marketer must also continually seek out better partnerships with other affiliates.[24]
“Within our affiliate management system, we have notifications triggered to all affiliate managers when to reach out and schedule the next follow up call with the affiliate. We schedule monthly one on one meetings with our affiliates to take a deeper dive into their business and offer help where we can. This ultimately leads to them promoting our offers a lot more,” he said, and asked that you remember that “their success ultimately equals your success.”
!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"))}});
×