22. Understand that your power on the internet is equal to your ability to take action. You very likely already have what it takes to make a living online. Believe it or not, someone out there is looking for someone exactly like you to help them because they need your knowledge and specific communication skills to understand how to solve their problem.


A strategy that is linked into the effectiveness of digital marketing is content marketing.[39] Content marketing can be briefly described as "delivering the content that your audience is seeking in the places that they are searching for it".[39] It is found that content marketing is highly present in digital marketing and becomes highly successful when content marketing is involved. This is due to content marketing making your brand more relevant to the target consumers, as well as more visible to the target consumer.
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]
MoreNiche is one of the few affiliate networks that offer free affiliate training and ongoing personal support in this way. Many people who don’t know about our network currently pay out hundreds, if not thousands of pounds on affiliate training courses, seminars and even personal mentors each year. But they only learn the same information we give away for free once you’re working with us!
i was thinking about opening an affiliate site with amazon affiliate products and start earning , i actually have 0 experience and have found some courses at https://millionairesuccesstips.com/best-affiliate-marketing-course/ , but i dont know much about their service and maybe it can be a scam so i want to ask if you can suggest me money worth course for making an affiliate site from amazon!

I’ve just started my blog. I feel that I definitely stand out when it comes to promoting my blog posts on Pinterest because I create illustrated blog post images and don’t use stock photos. But I’m trying to own it. Like you said, there’s a lot of learning involved and there is no better way to improve in Blogging other than actually getting down and dirty with it, lol.


While any “regular” job requires you to be at work to make money, affiliate marketing offers you the ability to make money while you sleep. By investing an initial amount of time into a campaign, you will see continuous returns on that time as consumers purchase the product over the following days and weeks. You receive money for your work long after you’ve finished it. Even when you’re not in front of your computer, your marketing skills will be earning you a steady flow of income.
Not promoting the right products is a common issue with newbie affiliates. Would you purchase the product you are promoting through a website? Think about it. You can advertise a Ford dealership on your website until the cows come home, but will anyone seriously purchase a brand new car via a website without visiting a garage? I don’t think so. Don’t market cars, houses, wedding venues, perfume or dogs online. Do market products people will actually buy from a website without seeing them in the flesh!
While Derek Halpern’s blog about growing an online business, Social Triggers, doesn’t have marketers as its primary target audience (that would be online business owners), nonetheless it’s a good blog for marketers to follow. Since a big part of running a successful online business is digital marketing, plenty of his posts tackle suggestions on how to do it well.
When promoting affiliate offers, just make sure you are fully aware of all the terms and conditions attached to your affiliate program. Some programs can be strict about how they allow you to promote their products. For example, some may limit you to banner ads and links only, while others will allow you to use paid advertising, but won't allow email marketing. 
Marketing yourself effectively can seem like a daunting task for today’s small business owner. There are so many tools and platforms to choose from that it is hard to know where to begin. The most important things to remember are to set reachable realistic goals with your strategy, provide people with helpful content, and to make sure you stick to best practices.
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.
SEO, SEO copywriting, CMS management and Social Media management is no joke, and those are just SOME parts of internet marketing. It will cost you, but it’s gonna be worth every penny you spend. Just make sure that the one doing these services for you is a trusted authority and service provider. There are lots of cheap cheats out there who will suck your wallet dry. Don’t even think of getting cheap with your SEO.

In the case of cost per mille/click, the publisher is not concerned about whether a visitor is a member of the audience that the advertiser tries to attract and is able to convert, because at this point the publisher has already earned his commission. This leaves the greater, and, in case of cost per mille, the full risk and loss (if the visitor cannot be converted) to the advertiser.
Now here is the real tip …. do they have a newsletter you can sign up for?  – you can sign up for an Evernote account, and sign up for the enewsletter with that email address, then every one of their enewsletters will be saved in your Evernote account – this is great for research.  You can go back years and see what they promote at different times of year (heard this tip from LinkLove).
I'm not a super social person. Some people are just wired that way and find social media a great medium to extend their personalities. However, I have found social media incredibly valuable. Regarding business, it has sent a lot of traffic and provides a way to find like-minded individuals. It also serves as a very strategic tool to invite people to join the site and experience our "subscriber only" email content.
Game advertising - In-Game advertising is defined as "inclusion of products or brands within a digital game."[50] The game allows brands or products to place ads within their game, either in a subtle manner or in the form of an advertisement banner. There are many factors that exist in whether brands are successful in their advertising of their brand/product, these being: Type of game, technical platform, 3-D and 4-D technology, game genre, congruity of brand and game, prominence of advertising within the game. Individual factors consist of attitudes towards placement advertisements, game involvement, product involvement, flow or entertainment. The attitude towards the advertising also takes into account not only the message shown but also the attitude towards the game. Dependent of how enjoyable the game is will determine how the brand is perceived, meaning if the game isn't very enjoyable the consumer may subconsciously have a negative attitude towards the brand/product being advertised. In terms of Integrated Marketing Communication "integration of advertising in digital games into the general advertising, communication, and marketing strategy of the firm"[50] is an important as it results in a more clarity about the brand/product and creates a larger overall effect.
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.
Customers who receive a free product are 20% more likely to spread the word about the free product than they are about a product they paid for. By giving away your product for free you’re essentially paying for word of mouth advertising.A great example here is Spotify. They offer a free version to customers but also offer a free 30 day trial of premium ad free music. Once their customers are hooked and see they can get more with paid features, it’s really a no brainer to upgrade to a premium account especially after the 30 day free trial.
Taking part in affiliate marketing will force you to examine your blog’s conversion rates. Let’s say you are promoting a specific product via affiliate links on a landing page. If you currently get 1,000 visits/month at a 3% conversion rate, you have 30 referrals. To get to 60 referrals, you either have to get 1,000 more visitors to the page with blogging, SEO efforts, paid traffic or social media marketing. Or you could simply increase the conversion rate to 6%.
There is no need to waste your time on the conceptualization of what kind of a web design your business site should feature. Take a look at the examples of some of the most successful businesses in your niche. What tricks and hacks do those use on their web platforms? Learn from their example and create your own design (but don't copy your competitors!).
On your path to become an affiliate marketer, it isn’t always going to be an easy job. A lot of time and hard work must be dedicated to promoting relevant offers and helping the targeted audience. Some of the pros, however, are never having to create products, just drive the traffic to someone else’s products and earn money while not worrying about any customer support.
22. Understand that your power on the internet is equal to your ability to take action. You very likely already have what it takes to make a living online. Believe it or not, someone out there is looking for someone exactly like you to help them because they need your knowledge and specific communication skills to understand how to solve their problem.

Marketing yourself effectively can seem like a daunting task for today’s small business owner. There are so many tools and platforms to choose from that it is hard to know where to begin. The most important things to remember are to set reachable realistic goals with your strategy, provide people with helpful content, and to make sure you stick to best practices.
If you would like to take a more subtle approach, include a product or service from your company that relates into your blog post. For example, let’s say that you are a wine connoisseur and that is what your blog is based around. In any post that is enticing your readers to open up a good bottle of Merlot or what have you, it would be wise to embed an ad for a quality, easy-to-use wine opener, wine glasses or stoppers that keep the wine fresh.
Think long-term not short-term. Invest wisely in the short term in order to make money in the long term. And by this I mean investing in the help of some educational programs/books and the advice and help of mentor(s) to help you learn faster and get to your destination of success quicker. If you can master one or two approaches, you will be well on your way toward a successful business. If you learn only parts of a number of different strategies you will remain a “jack of all trades but master of none.”
Trying to cut corners with marketing methods is a huge no-no in affiliate marketing. By cutting corners, we’re talking specifically about black hat SEO. Get banned by Google, and you’ll be spending your time building a new site. Don’t learn from your mistakes, learn right now. Blackhat SEO only ever leads to a broken site. Google will hunt you down, and it will punish you!
Bloggers can use affiliate links in a number of ways. Banner ads above, below, and throughout your blog are a common method of affiliate marketing. However, you’re a writer, so the most natural way for you to promote a product is through your words. As you write about certain brands or products, you’ll link back to the merchant’s website for that particular item with contextual text links. The link will be traced by an affiliate marketing program, and when the online user makes a purchase or completes the conversion, you get a commission based on the cookie duration - usually 30-90 days. Simple, right?
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.

Not only is it important to update your content, but if your website looks like it’s from the 1990s it’s time for a total makeover. Website design is constantly evolving, so it’s important to keep up with the current trends so that you can compete in your market. Old website design can give out spammy vibes to customers who will quickly leave your site and move on to one that is more aesthetically appealing.


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.
If you can help me with something that would be great. Actually i am an content based blogger who has been blogging for a while now. I have now confidence to say that i have built a good following and traffic that i can integrate with affiliate marketing now. The thing is i don’t know what program should i choose for that purpose, there are so many out there, some are too complex for starters and some just won’t accept the starters.
Are you frustrated with the lack of responses and results from your marketing efforts? Unless your marketing campaign results have hockey-sticked  over the past 12 months, then chances are that you’re missing a very important step – persona building. In this article you will find a complete and detailed persona building guide to help yield better,…
!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"))}});
Facebook, Twitter and other social media channels have become increasingly important in recent years for bloggers. New content offers more possibilities to publish links to the various social networks for more attention, backlinks and traffic. By publishing new content regularly and sharing on social media, there’s a likelihood of driving incremental traffic to your site.
Content Marketing Institute is a daily updated blog that provides a vast wealth of articles designed to aid in content marketing including case studies, examples, research, tips on strategy and necessary tools. It is worth mentioning that most of the articles contain practical suggestions which make the blog an awesome source of daily ideas and inspiration for a newbie in marketing.
I’m running an in-house Partner Program here at LiveChat so I’m probably the right person to reach out to if you have any questions or doubts. Feel free to do so anytime via email or Twitter. From my posts on this blog you’ll learn how our project is progressing and how you can leverage various features and business opportunities we provide. Expect me to share valuable insights and partners’ success stories you can benchmark or - at least - get inspired by. Happy marketing!
Dependency: This is the biggest con, so pay attention! Affiliate marketers depend on the merchant to make their money. If there were no merchants or affiliate programs, the possibility of being an affiliate marketer would not exist. It even becomes more frustrating if for one reason or the other a merchant suddenly stops running the business or their affiliate program. This can potentially deprive the affiliate marketer of his one-time steady source of income.
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.
If there’s one digital marketing strategy that budding startup and small B2C companies should utilize the most nowadays, it’s definitely content marketing. According to the latest B2C Content Marketing Benchmarks, Budgets, and Trends from CMI and MarketingProfs, some 55% of B2C marketers reported their content marketing efforts are somewhat more successful compared a year ago,

Cross-platform measurement: The number of marketing channels continues to expand, as measurement practices are growing in complexity. A cross-platform view must be used to unify audience measurement and media planning. Market researchers need to understand how the Omni-channel affects consumer's behaviour, although when advertisements are on a consumer's device this does not get measured. Significant aspects to cross-platform measurement involves de-duplication and understanding that you have reached an incremental level with another platform, rather than delivering more impressions against people that have previously been reached (Whiteside, 2016).[42] An example is ‘ESPN and comScore partnered on Project Blueprint discovering the sports broadcaster achieved a 21% increase in unduplicated daily reach thanks to digital advertising’ (Whiteside, 2016).[42] Television and radio industries are the electronic media, which competes with digital and other technological advertising. Yet television advertising is not directly competing with online digital advertising due to being able to cross platform with digital technology. Radio also gains power through cross platforms, in online streaming content. Television and radio continue to persuade and affect the audience, across multiple platforms (Fill, Hughes, & De Franceso, 2013).[45]
Many advertisers are unaware of the potential of the affiliate marketing business model for their own businesses, in fact, most small businesses have never heard of it. But imagine marketing your products only to interested people for no upfront fee. Paying only when you get results is a risk-free way of advertising that requires no marketing budget to get started. As you can imagine, this is great for any start-up business with little funding for marketing their new brand.
Online reviews rank in search engines, thus helping your business to rank higher as well. Online customers tend to choose those products and services that were reviewed by other buyers, which grows the reliability of your brand automatically. Reviews can also encourage the web users to take a specific action, like placing an order or checking out details about your offerings.
But I think the biggest deciding factor in this, goes back to the site as a whole and all of the other posts. Are the genuine? Is the blogger constantly trying to push products? I’d like to think I’ve been doing this long enough that my audience knows I’m not out to make a quick buck – and I think even relatively new bloggers can prove this based on their other content.
Provide the most accurate information about the products you promote. Never exaggerate to quickly make a sale. Your audience will see through it and they will turn their backs on you. Instead, if the product you are promoting isn’t perfect, say so! It never hurts to explain the downsides to a product because this just proves to your audience that you are being completely honest with them. Also–this is very important–be transparent about your relationship with the merchant! It is legally required that you disclose your affiliate relationship, so any time you share an affiliate link you need to let your audience know.  Make sure you are following the latest FTC  guidelines here.
Twitter can be used for pretty much anything. You can launch a political campaign, start a non-profit hashtag movement, spy on your competitor, track down your long lost friend… it is a world of opportunities on a single open platform. It is no surprise that people have been turning to it for professional uses over the years. Prospecting is one that has been a little controversial, with some claiming it… [Read More…]
This is also about expectations. Anyone that tries to sell you a get-rich-quick scheme is selling you short. There is no such thing. You have to put in the time and do the work, adding enormous amounts of value along the way. That's the truth of the matter and that's precisely what it takes. Once you understand that it's all about delivering sincere value, you need to understand where the money comes from.

While any “regular” job requires you to be at work to make money, affiliate marketing offers you the ability to make money while you sleep. By investing an initial amount of time into a campaign, you will see continuous returns on that time as consumers purchase the product over the following days and weeks. You receive money for your work long after you’ve finished it. Even when you’re not in front of your computer, your marketing skills will be earning you a steady flow of income.


!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"))}});
×